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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.