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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BishwaR
Helper V
Helper V

Fact Table against Fact Table mer

I have to use two fact tables in the model. I did not want to use the many to many relationship or create any bridge table.

So I merged these two tables with left outer join to get only required columns. Then a question poped up in my mind.

In SQL I used multiple AND conditions to avoid the Cartisian Product while joining two Fact Tables. Does Power BI engine do the similar thing in the backgroud ?

 

Secondly did I do the correct thing by merging the table to avoid the many to many relationship ?

 

Thanks

 

Bishwa

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @BishwaR 

 

You can hold on Ctrl or Shift Key and select multiple matching columns at the same time to merge the tables. Make sure you select matching columns in the same order, so that the columns with the same order number will be matched.

 060701.jpg

 

For many to many relationships, you may refer to below articles.

Many-to-many relationships in Power BI Desktop - Power BI | Microsoft Docs

Many-to-many relationship guidance - Power BI | Microsoft Docs

 

Usually when I use a bridge table, I tend to use its columns in filters or slicers to filter other tables, or in Axis/Legend fields of a chart. Sometimes fact tables don't include a complete list of values. So I will include all values in a bridge table to avoid missing any item.

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @BishwaR 

 

You can hold on Ctrl or Shift Key and select multiple matching columns at the same time to merge the tables. Make sure you select matching columns in the same order, so that the columns with the same order number will be matched.

 060701.jpg

 

For many to many relationships, you may refer to below articles.

Many-to-many relationships in Power BI Desktop - Power BI | Microsoft Docs

Many-to-many relationship guidance - Power BI | Microsoft Docs

 

Usually when I use a bridge table, I tend to use its columns in filters or slicers to filter other tables, or in Axis/Legend fields of a chart. Sometimes fact tables don't include a complete list of values. So I will include all values in a bridge table to avoid missing any item.

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors