Any material found in MDX should be treasured. By far I have just seen 3-4 books on SSAS flavor of MDX. Below are the links to code-snippets which are FAQ's or used frequently while either querying the cube or creating calculated members on the cube.
Download MDX Tutorial - Code Snippets of Various FAQ Queries (PDF)
Download MDX Tutorial - Code Snippets of Error Handling (PDF)
Download MDX Tutorial - Cope Snippets SCOPE statement (PDF)
- MDX - How do you get Last month in the time dimension
- MDX - Query example that returns list of months from start of year up to specified month
- MDX - Query to show the first day of the last date month in the cube
- How in the report can I order date dimension members in descending order?
- MDX - query to get the last Month loaded into a cube
- MDX - Query to get the first month of the last year loaded into a cube
- MDX - How do you write query that uses execution date/time ( NOW() ) as a parameter?
- MDX - Query to get latest months and previous years same months data
- MDX - Query to show year level data for all years except last one, and month level data for last year
- MDX - How to create calculated member for AVG sales over last 3 years based on NOW()?
- MDX - How do I calculate sales for 12 Month to date?
- MDX - How can I get Last (Previous) Year to Date (YTD) values?
- MDX - Query to get count of months with sales amount > 0 in defined period
- MDX - How do you calculate monthly average of one year, optionally including empty months?
- MDX - How do you calculate monthly average of one year, optionally including empty months?
Download MDX Tutorial - Code Snippets for Time Dimension (PDF)
Content Host / Courtsey : SSAS-Info

Article 



1 comment:
Gracias por este magnÃfico post. Admirando el tiempo y el esfuerzo que puso en su blog y la información detallada que usted ofrece.
Post a Comment