I am building a report with Current Month and Prior Month summaries in seperate columns. My source "fact" table has MONTH_ID and I have a look-up table with the PRIORMONTH_ID.
I've looked at SUM and LASTFULLMONTH but I'm puzzeled about the syntax.
My question is: What should the formula look like to sum the data for PRIORMONTH?
The result needs to look something like
Month Current Month Sales Prior Month Sales
Jan03 1234 3456
etc.
etc.
Thanks,
John
I've looked at SUM and LASTFULLMONTH but I'm puzzeled about the syntax.
My question is: What should the formula look like to sum the data for PRIORMONTH?
The result needs to look something like
Month Current Month Sales Prior Month Sales
Jan03 1234 3456
etc.
etc.
Thanks,
John