Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I have Month and Year in my data(no date) along with say Sales.
Now the requirement is to calculate Prev Month Sales data on the basis of the month selected.
Any ideas how can I achieve this?
How should I go about creating the Master Calendar without the date.
P.S: I know I can use dummy date by finding out the minimum of year and calculating min and max dates and use it to create my Master Calendar, but is there some other way.
Best Regards
Sabal
Hi Sabal,
you can use the makedate() function to generate a date from your year and month fields and use that as the basis for your master calendar.
Also if you created your month field with the Month() function, you'll be able to use set analysis with <=Max(Month)
to get your prior months
hope that helps
Joe
Hi Joe,
Thanks for the reply.
I know I can use the MakeDate() function(dummy date) but I was wondering if there is any other way to create the Master Calendar(without the date).
Thanks
Sabal
hmm not really, the whole idea of a master calendar is to generate from a date. Might be able to come up with a solution that doesn't require creating one though (and just use your current fields), are you able to knock an example together