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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
PeterWu
Frequent Visitor

How to do this measure

PeterWu_0-1624779783939.png

I have a data set look like this, How can I get the PCA Demand from Chassis demand to for DAX? and build I a table like below sample

 

PeterWu_1-1624779861945.png

 

1 ACCEPTED SOLUTION
PaulOlding
Solution Sage
Solution Sage

Set a relationship between the tables on Chassis PN like so

PaulOlding_0-1624782148356.png

 

You don't explicitly say this in your post but the only way I could get to your figures was to multiply Qty by Demand.  Is that what you want?  

Here's a measure that does that:

Demand Measure =
SUMX(Chassis, Chassis[Demand] * RELATED(PCA[Qty]))
 
Then you can create this matrix
PaulOlding_1-1624782371909.png

 

PaulOlding_2-1624782457476.png

 

View solution in original post

1 REPLY 1
PaulOlding
Solution Sage
Solution Sage

Set a relationship between the tables on Chassis PN like so

PaulOlding_0-1624782148356.png

 

You don't explicitly say this in your post but the only way I could get to your figures was to multiply Qty by Demand.  Is that what you want?  

Here's a measure that does that:

Demand Measure =
SUMX(Chassis, Chassis[Demand] * RELATED(PCA[Qty]))
 
Then you can create this matrix
PaulOlding_1-1624782371909.png

 

PaulOlding_2-1624782457476.png

 

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.