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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Setup Incremental refresh on Many to Many relationship table

Hi All,

 

I have model where relationship between DIM & FACT is Many to Many , I have used bridge table to reslove m:m issue converting it to M:1:M , but i had to bring all the columns from FACT to bridge table and hidden the original fact table , because users were getting report errors  when they pulls column from DIM & FACT and they are not using aggregation in report to resolve the issue.

 

Bridge table is huge and need to implement incremental refresh but i am getting below error.  

Problem: Refresh fails because of duplicate values

Cause: Post dates have changed

Is it not possible to implement incremental refresh on m:m table , though we use bridge table.

 

Thanks in Advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@amitchandak  But the below statement from Microsoft docs contradicts with incremental refresh works for many to many , because it expects to have unique values in 1 side of the table , which mean many to many will always fails the above condition.

 

VenkateshMGu_0-1710131010829.png

 

View solution in original post

5 REPLIES 5
hsantosh
Helper I
Helper I

Hi All
I am facing some issue with incremental refresh,
I have data of 50k in fact table, when i apply icremental refresh its coming 25 lakhs.
Fact table having multiple joins with different tables,
from each table we are fetching updated date and again among all which is max date taking that , on that incremental refresh is apllied, please any one help me wnything wrong i am doing, why that much duplicate records i am getting

Anonymous
Not applicable

Hi @Anonymous 

1.Check that when you set the rangestart and rangend paramaters the date should be [date]>=rangestart and [date]<rangend (cannot equal to rangend).

vxinruzhumsft_0-1709709446696.png

https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-configure#filter-data

2.The error message in your incremental refresh, it means that, because of the post date change, the unique id appears in another partition so that it return the duplicate values errors, you can refer to the following link about the error.

https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-troubleshoot#problem-refresh-fails-because-of-duplicate-values

So it needs to use SSMS to refresh all partitions from the point where the change is located up to the current refresh partition.

And you can also refer to the similar case.

Incremental Refresh - Duplicates or Missing Update... - Microsoft Fabric Community

Solved: Incremental Refresh - Duplicate Rows for Refresh W... - Microsoft Fabric Community

Solved: Re: Incremental refresh failing due duplicate reco... - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , what issue are you getting for the relation M-M when refreshing data?

 

Ideally, we do not want many to many, but it should work.

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  But the below statement from Microsoft docs contradicts with incremental refresh works for many to many , because it expects to have unique values in 1 side of the table , which mean many to many will always fails the above condition.

 

VenkateshMGu_0-1710131010829.png

 

Anonymous
Not applicable

Below is the error i am getting and basically it has SCD type 2 fact table in db, but to resolve m:m in power bi , i am bringing only active recrods ans converting as 1: M and setting up incremental refresh on this fact table.

VenkateshMGu_0-1709699269903.png

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors