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
Praveen_Rangu
Frequent Visitor

Getting error in Table column contains a duplicate value, during incremental refresh

Praveen_Rangu_0-1718193965493.png

@lbendlin 

I am a pro PowerBI user and use RangeStart <= [partition date] < RangeEnd in this way. 
Even after doing in that way, I am getting the same error. Will it happen if that unique ID is present in archived data and got updated in a recent refresh 

Currently, I am using modified date to fetch data and detect changes. Instead, can I use created at date to fetch data and modified at date to detect changes. Will I escape from duplicate error.

Data source error: Column '<oii>class_id</oii>' in Table '<oii>dw v_fact_classes</oii>' contains a duplicate value '1333550' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table.


3 REPLIES 3
lbendlin
Super User
Super User

Will it happen if that unique ID is present in archived data and got updated in a recent refresh 

Yes, it will. Remember this is incremental refresh, not differential refresh.  Incremental refresh only works with immutable data, If your data is mutable you need to manually refresh all affected partitions.

Anonymous
Not applicable

It is not allowed probably because it has a relationship to another table and this table is the one side of a one to many or one to one. Scroll to the right to see the rest of the error.

 

Or you mayve have to change the relationship to many to many or reverse the one to many if this is the fact and the other table is the dimension

I have updated the full reason.

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 Kudoed Authors