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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Having difficulties with using group by columns

Hello, I'm having difficulties with group by function.

 

I was trying to calculate specific column by using group by with sum of specific column, but it didn't work.

 

Instead, a message is constatntly appears that specific column contains duplicate value that cannot be applied.

 

I Don't know why this message is constantly appears and why my calculation is not working.

 

AidenNoh_1-1661197133986.png

 

1 REPLY 1
jgeddes
Super User
Super User

Assuming you are using the Group By feature in Power Query, I have run into issues in the past with trailing spaces existing in cells that are not easily seen. Power Query doesn't group them together but when loading into Power BI you get the error that a single value has duplicate. Long story short I use the TRIM feature on my grouping column prior to grouping in Power Query to get rid of unwanted whitespaces.

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors