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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Model Issue: Combining two Fact Tables

Hi together,

I have an issue with my report and I guess the reason is within the model architecture.

This is an extract of my model:

AnSc93_0-1722505804810.png


I have two dimension tables, Product and Region.
In the first Fact-Table I have a ratio between those tables. So basically a percentage value, how the Product-Share is within the regions. (many-to-many combinations possible)

Based on that I want to filter my Sales data within the FactSales table. (based on the product key out of the first FactTable)

I would like to be able to filter the sales data from both dimensions, depending on the ratio.

Is there another way to do that? I thought of integrating the share directly within the FactSales table. But I need the share also within other fact tables so I want to define it centralized in one spot.

Thank you in advance.

Regards,

Andrears


1 ACCEPTED SOLUTION
mickey64
Super User
Super User

For your reference.

mickey64_0-1722515524962.png

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Thank you for your reply, @mickey64 . Here l have another idea in mind. Please check if there is anything that can be improved. Example data can be viewed from the attached .pbix file.Here is my solution:

 

Method1

 

1.Merge in the Power Query Editor:

 

vlinhuizhmsft_0-1722850002376.png

 

2. Select the two fact tables to create a merged table:

vlinhuizhmsft_1-1722850081226.png

3.Select Sales[$] to expand:

 

vlinhuizhmsft_2-1722850081228.png

 

4.The model is shown in the figure:

 

vlinhuizhmsft_3-1722850132705.png

 

Method2

 

1.Create a bridge table:

 

Bridge Table = SUMMARIZE('FACTProductRegionRatio','FACTProductRegionRatio'[Product Key],'FACTProductRegionRatio'[Region Key])

 

2.The model is shown in the figure:

 

vlinhuizhmsft_4-1722850224089.png

 

Both of these methods can be able to filter the sales data from both dimensions:

 

vlinhuizhmsft_5-1722850259104.png

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

mickey64
Super User
Super User

For your reference.

mickey64_0-1722515524962.png

 

Anonymous
Not applicable

This model worked best for my use-case.
Thanks a lot!

Helpful resources

Announcements
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.