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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
blestone111
Helper I
Helper I

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

@blestone111 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
Super User
Super User

Hi @blestone111 ,

 

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 @blestone111 ,

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

@blestone111 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!





Hi Jai - no blanks in the customer ID column.

@blestone111 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!





Hi Jai - the coun is 1 no 2. 

@blestone111  So you have duplicates ?




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

Proud to be a Super User!





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

@blestone111 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.