I am trying to create a MDX script to compare all university applications for a term by a specific date.
This is what I have so far
SELECT {([Measures].[Reseller Sales Amount])} ON COLUMNS, {[Product].[Category].[Category].Members} * {[Product].[Subcategory].[Subcategory].Members} ON ROWS FROM [Step-by-Step] WITH MEMBER [MEASURES].[PRIOR PERIOD APPLICATION] AS ( PARALLELPERIOD ( [Dim Date].[Calendar Year Number], 1,[Dim Date].CURRENTMEMBER ) , [MEASURES].[APPLICATION] ) SELECT {([MEASURES].[APPLICATION]),([MEASURES].[PRIOR PERIOD APPLICATION]) } ON COLUMNS, { DESCENDANTS ( [Dim Date].[Calendar Year Number], [Dim Date].[Calendar Month Name], SELF ) }ON ROWS FROM FACT_ADMISSIONS
Background info: Applications for a specific term could happen 2 years out or within the year that the term starts. In saying that, I need to be able to pick the term first and then sum the applications by year and month for a specific date. Example, if the term was 2013 Fall, I would like sum all the applications for a certain date in the year to see how many applications were received. Ultimately, I would like to be able to have a user choose 2 terms (2012 Fall and 2013 Fall for example) and the pick a date which the script would then compare the 2013 Fall term applications by the provided date but also the 2012 Fall term by the same date last year.
It's a long shot but any help would be greatly appreciated.