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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ngadiez
Helper II
Helper II

Multi Value in a column

Hi I have a table like this

 

  1. ID          Name
  2. 1            Pen
  3. 2            Chair
  4. 2            Table
  5. 3            Plug
  6. 3            Power
  7. 3            shocket

I want to make it to this for my visualisation table

  1. ID          Name
  2. 1            Pen
  3. 2            Chair, Table
  4. 3            Plug, Power, shocket

Is there any way to do this?

I saw from other forum is using = CONCATENATEX ( FILTER ( VALUES (Table[Name])  ), Table[Name], ", ")

However it doesnt work for same table. only work for diferent table.

 

Any idea how to do this? All the master

@Greg_Deckler@MattAllington @Phil_Seamark @quentin_vigne

1 ACCEPTED SOLUTION
quentin_vigne
Solution Sage
Solution Sage

Hi @ngadiez

 

You were almost there, here what I would do as your table is ordered on ID

 

Grouped_Name = CONCATENATEX(FILTER(ALL('Table1');[ID]=EARLIER('Table1'[ID]));[Name];", ")

You may need to change ";" to "," as I'm using french version of PowerBI (depending of your version)

 

Have a good day

 

- Quentin

View solution in original post

3 REPLIES 3
quentin_vigne
Solution Sage
Solution Sage

Hi @ngadiez

 

You were almost there, here what I would do as your table is ordered on ID

 

Grouped_Name = CONCATENATEX(FILTER(ALL('Table1');[ID]=EARLIER('Table1'[ID]));[Name];", ")

You may need to change ";" to "," as I'm using french version of PowerBI (depending of your version)

 

Have a good day

 

- Quentin

@quentin_vigne

 

It works. Thank you so much

@ngadiez

 

You're welcome,

 

Have a good day.

 

- Quentin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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