Categories
Archives
- May 2013 (3)
- April 2013 (3)
- March 2013 (4)
- February 2013 (2)
- December 2012 (1)
- November 2012 (4)
- October 2012 (1)
- August 2012 (1)
- July 2012 (1)
- June 2012 (2)
- May 2012 (7)
- April 2012 (3)
- March 2012 (1)
- February 2012 (1)
- January 2012 (2)
- December 2011 (2)
- November 2011 (1)
- September 2011 (4)
- August 2011 (4)
- June 2011 (2)
- May 2011 (3)
- April 2011 (2)
- March 2011 (4)
- February 2011 (2)
- January 2011 (5)
- October 2010 (2)
- September 2010 (1)
- August 2010 (1)
- May 2010 (2)
- January 2010 (1)
- December 2009 (1)
- October 2009 (2)
- September 2009 (1)
- April 2009 (2)
- January 2009 (1)
- December 2008 (1)
- November 2008 (2)
- August 2008 (1)
- July 2008 (4)
- March 2008 (1)
- February 2008 (1)
- January 2008 (4)
- December 2007 (5)
- November 2007 (5)
- October 2007 (13)
- April 2007 (1)
- March 2007 (1)
- February 2007 (3)
- January 2007 (13)
- December 2006 (7)
- November 2006 (2)
- October 2006 (7)
- September 2006 (5)
- August 2006 (4)
Recent Comments
- SQLBits XI – It depends… | T-SQL.dk on History repeats itself…
- History repeats itself… | T-SQL.dk on “What should I do?” – Brett Favre
- SQLSaturday Denmark re-cap | T-SQL.dk on Using a Custom Assembly to search an Analysis Services dimension
- SQLSaturday Copenhagen re-cap | T-SQL.dk on Analysis Services Dimension Security – via AMO
- Leoparddrengen on SUN, Oracle, whatever… How do you sleep at night?
Tags
.Net 3rd. ed. AMO Analysis Services BI Business Intelligence Bønner C# Certificering Coffee D&D Espresso FAIL Fejl Humor Kværn MCP MDX MSConnect NFL politik Roleplay Security SQL SQL2008 SQL2012 SQLBits SQLBits X SQLPASS SQL Server SQLServer SQL Server 2005 SQL Server 2008 SQLTip SSAS SSIS SSIS 2008 SSMS SSRS T-SQL The Who vandkøling Visual Studio VS2008 VS2010LinkedIn
If you want to see my LinkedIn profile, click on this button:
Subscription Options:

My Klout Score
Tag Archives: MDX
SSMS Quick Tip
If you ever need to test Analysis Services roles, you can easily do so either by browsing the cube or by means of a query. When browsing a cube through SQL Server Management Studio (SSMS) or Bisuness Intelligence Developer Studio (BIDS), you … Continue reading
Posted in Programming
Tagged Analysis Services, BI, MDX, Security, SQL Server, SQL Server 2008, SSAS, SSMS, VS2008
Leave a comment
How to get SSAS to return the correct currency format.
Although setting the language and collation correctly, it’s not easy to see why a specific MDX would not return the right formatting, in regards to monetary, thousands seperator etc. There is however a way of forcing the language, through a … Continue reading
MDX Query using other hierarchy in same dimension as in slicer
The other day a coworker of mine presented me with a problem in one of our solutions. His basic pain was, that the front-end of the application only allowed for one dropdown containing whatever dimension was set up to be … Continue reading
Pct af totalen
Et eksempel på hvordan man kan beregne pct. af totalsalg og pct af salget på niveauet over det aktuelle. WITH MEMBER [Measures].[Pct of total] AS ‘SUM( {[Product].CurrentMember}, [Measures].[Unit Sales]) /SUM( {[Product].DefaultMember}, [Measures].[Unit Sales])’, FORMAT_STRING=’#0.00%’ MEMBER [Measures].[Pct of parent total] AS … Continue reading
Kumulative værdier
Her ses et eksempel på hvordan man beregner kumlative værdier over en periode WITH MEMBER MEASURES.[Sales To Date] as ‘ SUM( {[Time].CurrentMember.Level.Members}.Item(0) : Time.CurrentMember,[Measures].[Sales Count])’ MEMBER MEASURES.[Sales Year To Date] AS ‘ SUM(YTD([Time].CurrentMember),[Measures].[Sales Count])’ MEMBER MEASURES.[Sales Quarter To Date] as … Continue reading
