Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Use multiple measures as first column

Hello, 

 

I have the below Sales table:

datecountryproductsales_quantitysales_amountmanufacturing_cost
14/01/2022GRCoke3075.0045.00
21/01/2022BGCoke2562.5037.50
13/02/2022ATCoke50125.0075.00
25/01/2023GRCoke2050.0030.00
13/02/2023BGCoke40100.0060.00
14/02/2023ATCoke62250.0090.00
14/01/2022GRFanta40100.0060.00
21/01/2022BGFanta3075.0045.00
13/02/2022ATFanta2050.0030.00
25/01/2023GRFanta3075.0045.00
13/02/2023BGFanta3587.5052.50
14/02/2023ATFanta50125.0075.00

 

I want to create the below report without much proccessing on my initial table. Can i create it just in report view?  

 Current Year (2023)Prior Year (2022)% Dif. Current vs. Prior Year (=(CY-PY)/PY)
Sales Quantity23719522%
Sales Amount (A)687.50487.5041%
Manufacturing cost (B)352.50292.5021%
Profit (= A-B)335.00195.0072%
Profit as % of Sales Amount49%40%22%

 

I managed to get there but I don't think my solution is optimal.

Thanks in advance.

1 Reply

  • Anonymous , You need to use calculation groups. They are now supported on Desktop without using External tool

     

    Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to Dimension Conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

     

    Learn Power BI: Model explorer public preview with calculation group authoring| Measure Slicer: https://youtu.be/VfxfJJ0RzvU