Forum Discussion
Week over Week Change
Hi Anonymous,
Please have a look at below examples to calculate week over week changes.
https://community.powerbi.com/t5/Desktop/Week-over-Week-Change/td-p/243318
https://community.powerbi.com/t5/Desktop/Week-over-Week/td-p/379226
Best regards,
Yuliana Gu
- Anonymous7 years agoNot applicable
Thank you, v-yulgu-msft. I saw those before posting my question but was unable to translate them to my data. I may be able to use the formula below, however I am not trying to find percentage change. First, I would probably need someone to break down each part of the formula so I understand what it is doing. Second, the final part of the formula seems to be figuring the % change over the previous week. How would that part change to give me just week over week change in numbers, not percentage change.
Measure = VAR lastWeekAmount = CALCULATE ( SUM ( Append1[Video Views] ), FILTER ( ALL ( 'Calendar' ), 'Calendar'[WeekNum] = MIN ( 'Calendar'[WeekNum] ) - 1 ) ) RETURN DIVIDE ( SUM ( Append1[Video Views] ) - lastWeekAmount, lastWeekAmount, 0 )- v-yulgu-msft7 years agoMicrosoft Employee
Hi Anonymous,
How would that part change to give me just week over week change in numbers, not percentage change.
Measure = VAR lastWeekAmount = CALCULATE ( SUM ( Append1[Video Views] ), FILTER ( ALL ( 'Calendar' ), 'Calendar'[WeekNum] = MIN ( 'Calendar'[WeekNum] ) - 1 ) ) RETURN SUM ( Append1[Video Views] ) - lastWeekAmountRegards,
Yuliana Gu