Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI friends i want to create a calendar based on date field but the problem is that date field contains only yyyy-mm.
does this code work on your app?
Date_src:
LOAD
$(Start) + Rowno() -1 as DateId
AUTOGENERATE $(NumOfDays);
it is creating problem while linking..will u pls create sample for me ...
Have a look at attached file.
thank you jonathan ....
did u check the subset ratio....its 1 % in pnl..pls check
That is because your fact table only has dates Mapped to the First Day of the months, where as the Calendar has all the Dates generated. If you want to match the subset ratio, you will have to delete all the other dates except the first of the month.
Since you will only have 24 rows (2014 to 2015 months) you can probably create an xls version of the Master Calendar and manually input data.