Hello Mr Excel!
I just bought your PowerPivot 2010 ebook and it's an excellent resource, especially the +100,-20 chart. I used it to create a dashboard and i'm up for promotion at work! Great idea for this forum! Awesome!
My question is this. You explain date measures comparing current values to last year in the book, but I don't see a reference to the same period in the previous month. (I do a lot of month to month revenue variance analysis)
I've been trying to compare current month-to-date revenue with last-month-to-date revenue and create that variance or difference in a separate column. The problem is, my formulas are valid, but they return blank values when I include the measure in my PowerPivot table.
So column format should be:
Month 1 Revenue, Month 2 Revenue, Difference between Month 2 - Month 1, % difference from last month.
My date column is in a date format and my line total column is in a whole number format.
The formulas/measures I've created don't work and only return a blank column with no errors after formula checking.
--this formula return a blank column!
=calculate(sum(SalesOrderDetail[linetotal]),PARALLELPERIOD(SalesOrderHeader[Orderdate],-1,month))
--this formula also returns a blank column!
=calculate(sum(SalesOrderDetail[linetotal]),DateADD(SalesOrderHeader[Orderdate],-1,month))
This has been driving me crazy! Can you help me out please?
I just bought your PowerPivot 2010 ebook and it's an excellent resource, especially the +100,-20 chart. I used it to create a dashboard and i'm up for promotion at work! Great idea for this forum! Awesome!
My question is this. You explain date measures comparing current values to last year in the book, but I don't see a reference to the same period in the previous month. (I do a lot of month to month revenue variance analysis)
I've been trying to compare current month-to-date revenue with last-month-to-date revenue and create that variance or difference in a separate column. The problem is, my formulas are valid, but they return blank values when I include the measure in my PowerPivot table.
So column format should be:
Month 1 Revenue, Month 2 Revenue, Difference between Month 2 - Month 1, % difference from last month.
My date column is in a date format and my line total column is in a whole number format.
The formulas/measures I've created don't work and only return a blank column with no errors after formula checking.
--this formula return a blank column!
=calculate(sum(SalesOrderDetail[linetotal]),PARALLELPERIOD(SalesOrderHeader[Orderdate],-1,month))
--this formula also returns a blank column!
=calculate(sum(SalesOrderDetail[linetotal]),DateADD(SalesOrderHeader[Orderdate],-1,month))
This has been driving me crazy! Can you help me out please?
Last edited: