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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.