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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors