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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
blm001
Advocate I
Advocate I

Remove Duplicate data

Hello,

 

I have an issue where I query a SQL DB and get back about 87k supposedly unique names.  When I was trying to create a relationship I was notified that I cold not make a 1 to 1 relationship. 

 

Long story short.  I have about 6 names that are in both upper and lower case. Even if in query editor I set it to remove duplicates, they still show up in Power BI.

 

So Query editor does see them as dups, but Power BI does.

 

Any ideas?

1 ACCEPTED SOLUTION
12scml
Resolver I
Resolver I

Hi! I had this same issue with emails! I managed to fix it by selecting the column in the Query Editor, right-clicking, and selecting transform->lowercase and then selecting Remove Duplicates. There's also an UPPERCASE option and a Capitalize Each Word option that might help!

View solution in original post

2 REPLIES 2
12scml
Resolver I
Resolver I

Hi! I had this same issue with emails! I managed to fix it by selecting the column in the Query Editor, right-clicking, and selecting transform->lowercase and then selecting Remove Duplicates. There's also an UPPERCASE option and a Capitalize Each Word option that might help!

That did it!

 

So easy. Thanks!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

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

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.