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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ludovic_ott
Regular Visitor

Group list into one cell

Hello,

 

I am trying to change the table below :

ludovic_ott_0-1700247033146.png

 

To look like this:

MaterialWork Ctr
9266802471TBD24 TBE22 TBE24

 

Basically have all "Work Ctr" for the material 9266802471 listed into one cell with one space between each. How can I do this ?

 

Regards

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @ludovic_ott ,

You can create a calculated column as below to get it:

Column = 
CONCATENATEX (
    FILTER ( 'Table', 'Table'[Material] = EARLIER ( 'Table'[Material] ) ),
    'Table'[Work Ctr],
    " ",
    'Table'[Work Ctr], ASC
)

vyiruanmsft_0-1700716879300.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @ludovic_ott ,

You can create a calculated column as below to get it:

Column = 
CONCATENATEX (
    FILTER ( 'Table', 'Table'[Material] = EARLIER ( 'Table'[Material] ) ),
    'Table'[Work Ctr],
    " ",
    'Table'[Work Ctr], ASC
)

vyiruanmsft_0-1700716879300.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lbendlin
Super User
Super User

read about CONCATENATEX  in DAX, or Text.Combine in Power Query

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.