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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hideakisuzuki01
Helper II
Helper II

Grouping multiple columns in Power Query

Hi,

I am trying to GROUP BY the following data

ProdMat AMat B
AA-1 
AA-2 
A A
B B-1
B B-2
B B-3
BB 
CC-1 
C C-1

 

into this one below.

 

ProdMat AMat B
AA-1 
AA-2A
B B-1
B B-2
BBB-3
CC-1C-1

 

Is this possible ?  I thought I could do it using Power Query but 

I cannot figure out how.

Can anyone please help ?

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
some_bih
Community Champion
Community Champion

Hi @hideakisuzuki01 check link below, you can group ony or more columns. I hope this help

https://learn.microsoft.com/en-us/power-query/group-by 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

2 REPLIES 2
hideakisuzuki01
Helper II
Helper II

Thanks !

some_bih
Community Champion
Community Champion

Hi @hideakisuzuki01 check link below, you can group ony or more columns. I hope this help

https://learn.microsoft.com/en-us/power-query/group-by 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.