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
rickferreiran
Helper I
Helper I

Aggregate columns in table visual

Hello
I have table like this in power bi 

rickferreiran_0-1717152830280.png

 


But the goal this to build a visual with table like this

rickferreiran_1-1717152842475.png

 

Does anyone know how to build this?

1 ACCEPTED SOLUTION
Kaviraj11
Super User
Super User

For Power Query (M language), you can achieve a similar result by grouping rows based on a specific column and then combining the values of the other columns using the Text.Combine function. Here’s an example of how to do this:

let
    Source = YourTableName,
    GroupedRows = Table.Group(Source, {"YourGroupColumn"}, {{"CombinedColumn", each Text.Combine([YourColumnToCombine], ", "), type text}})
in
    GroupedRows



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
adi38612
Frequent Visitor

@rickferreiran Could you find a solution to this?

Kaviraj11
Super User
Super User

For Power Query (M language), you can achieve a similar result by grouping rows based on a specific column and then combining the values of the other columns using the Text.Combine function. Here’s an example of how to do this:

let
    Source = YourTableName,
    GroupedRows = Table.Group(Source, {"YourGroupColumn"}, {{"CombinedColumn", each Text.Combine([YourColumnToCombine], ", "), type text}})
in
    GroupedRows



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.