cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors