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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Analitika
Post Prodigy
Post Prodigy

Can't remove duplicates in table in Power Bi

Hello,

 

I would like to ask how I could remove duplicates from table? Because I tried use remove duplicates via power query but still 3 values are same. How to resolve this issue?

3 REPLIES 3
AjithPrasath
Resolver II
Resolver II

Hi @Analitika ,

  Can you share the screenshot of the data please?

AjithPrasath
Resolver II
Resolver II

Hi @Analitika ,

 

If you have tried using the "Remove Duplicates" function in Power Query but are still encountering duplicate values in your table, there are a few additional steps you can take to resolve the issue:

  1. Check Column Data Types: Ensure that the columns you are using to identify duplicates have the correct data types. Sometimes, differences in data types can cause seemingly identical values to be treated as distinct.

  2. Trim and Clean Data: If your data contains leading or trailing spaces or other non-printable characters, it can cause duplicates to appear. Use the "Trim" and "Clean" functions in Power Query to remove any unwanted characters and ensure consistency.

  3. Case Sensitivity: By default, the "Remove Duplicates" function in Power Query is case-sensitive. So, if your values differ only in case (e.g., "John" and "john"), they will be considered as duplicates. You can change the case sensitivity behavior by modifying the comparison options in the "Remove Duplicates" step.

  4. Sort Data: Try sorting your data before applying the "Remove Duplicates" function. Sorting the data can help identify patterns and discrepancies that may not be immediately apparent.

  5. Use Custom Logic: If the built-in "Remove Duplicates" function is not resolving the issue, you can create a custom logic to identify and remove duplicates. For example, you can use the "Group By" function in Power Query to group the data by the columns you want to deduplicate, and then select the first record from each group.

 

Best Regards,

Ajith Prasath

 

If this post helps, then please consider Accept it as the solution and give kudos to help the other members find it more quickly.

I have tried but still duplicates in column.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors