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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kiran123
Frequent Visitor

Refresh Failure

Hi Team,

we have created the custome table and getting the data from sql server from multiple table as we  have made some modification in the tables for removing the duplicate values its worked at first time but after refreshing the data on second time 

in sql table we get the duplicate values but in power bi though i have added custome filter for removing the duplicate values.

but its not working for second time for the refresh.

Its showing error.

Duplicates are not allowed in many to one relationship or for columns that are used as the primary key for the table

 

1 REPLY 1
Seth_C_Bauer
Community Champion
Community Champion

@kiran123  I usually just trouble shoot this in the report. Drop the field in a table, drop it in again and change it to Count. sort by the count. It will show any duplicates. Sometimes this also results with blanks being in your id row.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.