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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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

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.

 

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jai-Rathinavel
Solution Sage
Solution Sage

@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 ?

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. 

Hi Jai - the coun is 1 no 2. 

@blestone111  So you have duplicates ?

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.