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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.