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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors