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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.