Reply
RandyV
Frequent Visitor

Two connections between the same tables

Hi,

 

I have an item table that contains both finished items and components. Most of the finished products have a bill of materials that consists of one or more components. They seem to identify on the same fields.

 

As such, I would need to have two connections between the same two tables, which doesn't seem workable. My solution would be to split the item table into two tables; one for components and one for finished items, but that seems like a rather unelegant way to solve this which might lead to issues with other reports.

 

Do you guys have any different suggestions perhaps?

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

There is no right and wrong way, and always you have to way up the options. I have written 2 articles that may help your thinking/ option evaluation

 

https://exceleratorbi.com.au/multiple-relationships-between-tables-in-dax/

https://exceleratorbi.com.au/many-many-relationships-dax-explained/

 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

1 REPLY 1
MattAllington
Community Champion
Community Champion

There is no right and wrong way, and always you have to way up the options. I have written 2 articles that may help your thinking/ option evaluation

 

https://exceleratorbi.com.au/multiple-relationships-between-tables-in-dax/

https://exceleratorbi.com.au/many-many-relationships-dax-explained/

 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)