Forum Discussion
sya
4 years agoHelper I
Matrix with YOY GP Margin Comparisons
Hi All, I need to do a YoY comparison for PnL as in the picture: The original data from excel was like this: I unpivot the data which made all the Revenue, GP, Direct SG&A, etc g...
- 4 years ago
Hi, sya ;
Try it.
Measure = DIVIDE( CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Year]=MAX('Table'[Year])&&[category]="OUP")), CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Year]=MAX('Table'[Year])&&[category]="Revenue")))The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
4 years agoSuper User
sya , I think calculation group can help here along with TI
Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uA