Forum Discussion
% Change over Time
- 8 years ago
After some more research, I was able to solve it by creating two measures.
1. Value First Date = CALCULATE([Extended Spend running total in Date],CALCULATETABLE(FIRSTDATE('Table1'[Date]),ALLSELECTED('Table1'[Date])))
2. Time Period Driver = DIVIDE(sum('Table1'[Extended Spend]),[Value First Date])*1
I then dropped in the "Time Period Driver" measure into the matrix visual and it worked.
Thanks Phil_Seamark, the source table is pretty straight forward.
I would like to do the calculation for the "Extended Spend" column so that I can have a weighted average percentage. There are other categories other than dairy with different volumes and pricing and want to be able to roll them all together so show what the overal book of goods pricing trend will do over time.
Dan
After some more research, I was able to solve it by creating two measures.
1. Value First Date = CALCULATE([Extended Spend running total in Date],CALCULATETABLE(FIRSTDATE('Table1'[Date]),ALLSELECTED('Table1'[Date])))
2. Time Period Driver = DIVIDE(sum('Table1'[Extended Spend]),[Value First Date])*1
I then dropped in the "Time Period Driver" measure into the matrix visual and it worked.