Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi all,
I am trying to create a Table Visual from 2 Fact Tables that are Joined to a Bridge Table as 1:M with Bi-directional relationship.
The Shipping Table has a list of Components that have been shipped. A Component_id has duplicates.
List of parts has list of parts used on each component. Data Model below.
The problem seems the 2 Fact Tables are at different levels of grain.
I need the Table Visual to expand so that when I add the Shipped Components and then the List of parts, the Table will display the component and all of the parts needed for each component.
The pbix file is here
Thanks,
-w
Solved! Go to Solution.
Hi @UncleLewis ,
Based on your description, I have changed the relationship:
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Jianbo,
Setting the relationship between Modules and Parts as Inactive, then adding M:M relationship bewteen Parts and Shipped did the job. Thanks!
Thanks,
-w
The proposed modeling solution with M:M Join will not work on PBIRS - Sept, 2021.
-w
Thanks Jianbo,
Setting the relationship between Modules and Parts as Inactive, then adding M:M relationship bewteen Parts and Shipped did the job. Thanks!
Thanks,
-w
Hi @UncleLewis ,
Based on your description, I have changed the relationship:
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I merged the Parts to the Components as a workaround.
I don't think I should have to do that.
Thanks,
-w
Bump.
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
185 | |
92 | |
67 | |
62 | |
52 |