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
tall27
New Member

Transform list into comma-separated text.

Hi,

My json file allows multivalue in the field, that result in different results in the table. 

tall27_0-1679673811640.png

after the import, I can see 'lists' and  the values (for a single value).

tall27_1-1679673856320.png

 

I struggle to expand all lists, and show all channels in the same cell

tall27_3-1679674301092.png

is it possible to achieve ?

Thank you ahead!

1 ACCEPTED SOLUTION
AlienSx
Super User
Super User

Hi, @tall27 

Table.TransformColumns(source_table, {"column_name", (x) => if Value.Type(x) = type list then Text.Combine(List.Transform(x, Text.From), ", ") else x})

View solution in original post

1 REPLY 1
AlienSx
Super User
Super User

Hi, @tall27 

Table.TransformColumns(source_table, {"column_name", (x) => if Value.Type(x) = type list then Text.Combine(List.Transform(x, Text.From), ", ") else x})

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.

Top Solution Authors