Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HarryPBI
Regular Visitor

Measure Calculate at Lower Level

 

Hi everyone!

 

I am trying to create a type of VPM (Volume, Price, Mix) defined by my organisation.

 

I have the following 

 

measures:

  • Total cost
  • Total cost LY
  • Total Sales Volume
  • Total Sales Volume LY
  • LY Cost/Unit = Total Cost LY / Total Sales Volume LY
  • Recalc LY Cost = LY Cost/Unit x Total Sales Volume

 

Here’s my issue (see below table).

If you have a look at the Recalc LY Cost and sum up the total for the two types of products, the result is $516,833.

However, the current Total result returns $536,215. This is because the LY Cost/Unit is calculated at the total level i.e. $41.3 x 12,987 = $536,215.

This is an important difference because the current total removes the weighting of the two products that would define the “Mix” impact.

 

PBI Question.JPG

 

Do you have any ideas about how I can write a measure that will return the same results for the two different different products but return $516,833 for the total?

 

Thanks a lot,

Harry

1 ACCEPTED SOLUTION
Sujit_Thakur
Solution Sage
Solution Sage

Dear @HarryPBI  ,
I hope this video solves your problem

https://www.youtube.com/watch?v=ufHOOLdi_jk

if your problem is solved , do accept this as solution/
if you still have doubts let me know , i will try to help


regards ,
Thakur Sujit

View solution in original post

1 REPLY 1
Sujit_Thakur
Solution Sage
Solution Sage

Dear @HarryPBI  ,
I hope this video solves your problem

https://www.youtube.com/watch?v=ufHOOLdi_jk

if your problem is solved , do accept this as solution/
if you still have doubts let me know , i will try to help


regards ,
Thakur Sujit

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.