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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors