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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Relationship or Matrix Problem?

Hi, everyone! I'm having trouble to understand what might be causing my issue.

I have two tables:

Calheiro_2-1706096808171.png

The First Table (Left) contains when and how many items we'll need to fabricate. The Second Table (Right) contains "Child Items", which are used to make one "Parent Item", and how many of it we need to make one of those said "Parent Items". I'm trying to create a Matrix of how many of these "Child Items" are needed over the Order Dates of their Parent Items: (Order Qty*Times Used). Something similar to:

Calheiro_3-1706096841216.png

These two tables have a Many By Many relationship using Item column as reference. I cannot change it because there is no other column I can use as reference to the "Child Items". I've achieved something almost as I wanted, but my totals are incorrect and I can't seem to understand why. I get something similar to:

Calheiro_4-1706097026206.png

I used a measure in the Values section of my matrix:
Values = SelectedValue('First Table'[Order Qty]) * SelectedValue('Second Table'[Times Used]).

Can someone point out what am I doing wrong and how can I achieve what I want?

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@Anonymous 

 

create the following table ; 

Daniel29195_0-1706103455720.png

 

then just drag and drop columns to the visual and it should work as you want . 

Daniel29195_1-1706103495261.png

 

 

NB: now for the used , if it is not on the date level, then dont add this column to the newly created table. 

 

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍

 

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

@Anonymous 

 

create the following table ; 

Daniel29195_0-1706103455720.png

 

then just drag and drop columns to the visual and it should work as you want . 

Daniel29195_1-1706103495261.png

 

 

NB: now for the used , if it is not on the date level, then dont add this column to the newly created table. 

 

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors