Forum Discussion
jzadok
11 months agoFrequent Visitor
Group By fx in PBI Power Query does not group all duplicates as with Excel Power Query.
All - I have been doing some research on a Group By issue and have yet to find a solution...In Power BI, when performing the Group By function, I find that not all the duplicate values are uniquely g...
- 11 months ago
Hi jzadok,
Thanks for sharing your custom trim function, that is a great approach. If you are still seeing differences, it is usually due to hidden characters or casing that Excel strips but Power BI keeps. You can try wrapping your column with:Text.Upper(Text.Clean(Text.Trim([YourColumn])))This should standardize spaces, remove hidden characters, and align grouping with what you see in Excel.
Let us know if that works out. Let us know if you have any doubts regarding this. We will be happy to help.Thank you for using the Microsoft Fabric Community Forum.
audreygerred
Super User
11 months agoCan you please share the data that you are using? Power Query behaves the same in Excel, Power BI and Dataflows.