cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AidenNoh
Regular Visitor

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
Solution Sage
Solution Sage

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.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.