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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Duplicate records when there are no duplicate records

Hi Experts

 

My FACT table out of nowwhere is saying i have duplicate records (WHEN) there are no duplicate records in the SQL table and nor the table in Power BI. And this is stoping my Semantic Model from refreshing. 

 

I repeat there are no dups on the customer ID field. What could be casuing this??? HELP

 

1 ACCEPTED SOLUTION

@Anonymous Can you make your relationship Many to Many and again try switching back to One to Many. Now Power BI will highlight / prompt the value which are considered as duplicates.

 

Thanks,

Jai




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

9 REPLIES 9
mussaenda
Community Champion
Community Champion

Hi @Anonymous ,

 

Have you tried changing the customer ID field into integer then group them and do the count then sort in descending order? I am assuming here that Customer ID doesn't have any null or empty values.

 

Anonymous
Not applicable

Hi @Anonymous ,

Could you please confirm if the method Jai provided in his last reply resolved your issue? If not, could you provide the following information:

  1. A screenshot of the error message.
  2. Refresh all data and execute the "Remove Duplicates" operation for the FACT table in Power Query Editor. Then, check if the error persists after removing duplicate values.
  3. Is there a relationship created between this FACT table and any other table? If yes, please provide the relationship info(cardinality, direction etc.)

Best Regards

Jai-Rathinavel
Super User
Super User

@Anonymous You might have blank , null values in your Customer ID field this will also cause the error you are facing since your fact table might be in the side of One on One to many relationship in your current data model. Can you double check that once by opening a new page and pulling the values in a table visual and sorting it ?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

Hi Jai - no blanks in the customer ID column.

@Anonymous Can you pull in Customer ID and COUNT(Customer ID) in a new table and sort the count column. 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

Hi Jai - the coun is 1 no 2. 

@Anonymous  So you have duplicates ?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

No Dups... No count of 2 - just 1

@Anonymous Can you make your relationship Many to Many and again try switching back to One to Many. Now Power BI will highlight / prompt the value which are considered as duplicates.

 

Thanks,

Jai




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.