I am developing a cube in SSAS, I need to be able to compare YTD values between current year and last year.
I have the below scenario:
- Budget types by year : budget1-2016 , budget2-2016 ,budget1-2017 , budget2-2017.
- The budget types should be placed in the columns
- Units: should be placed in the rows
- The measure is called "Billings"
I need to compare YTD value for "Billings" between budgets "budget1 - 2016" and "budget2-2017" (different budget types and year) for a specific month.
when the Calendar month is included in the rows or columns everything works fine,
but if it is included in the filter and I choose for example February 2016 and February 2017, the results are not as expected.
With the usage of the TAIL function, only the higher month is taken into consideration and the column from 2016 is removed.
Is there a way to put the calendar month in the filter, select same month from different years and be able to see their YTD values?