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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.

 

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
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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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