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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.