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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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