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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 and SQLCon Barcelona 2026

FabCon & SQLCon โ€“ Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save โ‚ฌ200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors