Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I am using Group By in Power Query and it is not working properly. Before using Group By, I have some duplicates of 2 and 3. After using Group By on multiple columns, it has now become 2. However, I thought Group By would've "removed" the duplicates?
This is what I set on my Group By function.
And this is what I got when I apply the query. (note that the "No Date Available" is just me replacing some values with the text and the group by clause was used before this).
Theoretically, the first two column would be condensed into one with PurchaseDate 5/15/2014 and UseDate 8/28/2014. But it's not doing so. Besides that, when I filter the number of the first two rows in Power Query, I get only 1 line, but it is not right as the UseDate should be 8/28/2014 instead of NoDateAvailable.
Anyone knows what's wrong with this?
Thanks!
Daren
Solved! Go to Solution.
I found out what the problem was. In Power Query, uppercased and lowercased letters are considered to be different, however, in Power BI, there are the same. That's why it appeared in Power BI table view as duplicates and group by didn't work on Power Query. After standardizing them, it worked correctly.
Thanks.
Daren
Hi Darentengdrake,
please tell me how you standardized and solved groupby issue. in power query to your case
Hi @Anonymous
are you sure its exactly the same items?
did you try trim it before grouping?
do not hesitate to give a kudo to useful posts and mark solutions as solution
I found out what the problem was. In Power Query, uppercased and lowercased letters are considered to be different, however, in Power BI, there are the same. That's why it appeared in Power BI table view as duplicates and group by didn't work on Power Query. After standardizing them, it worked correctly.
Thanks.
Daren
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |