Forum Discussion
Group BY One Column
Power Query is more efficient at grouping, especially if the source is a relational database as it will fold the statement and make the server do the work. Just click on the Group By icon in the ribbon, select Advanced, and follow the prompts.
Consider posting your question not assuming readers can read SQL statements raw. I, for one, cannot. :smileyhappy:
I tried to use Group By in Power Query Editor but the result tripled when i expand and selected some columns .
- edhans6 years agoCommunity Champion
Could you share some data? GroupBy in Power Query doesn't just add extra rows. I use it all of the time. If you don't have a relationship right or aren't fully understanding how the underlying data exists then you will get unexpected results, but not incorrect results. That is true of Power Query, DAX, and even simple Excel formulas.