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
Anonymous
Not applicable

Comma separated list

Hi all,

I am having trouble processing data in power BI. 

Can you help me make all of FABRIC CODE each OUT DOCUMENT become a row (the fabric code a comma separated list).

I am very grateful for this.

Thank you!!!

Nhiiiii_0-1660720664996.png

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Anonymous 

maybe you can try this

Measure = CONCATENATEX(values('Table'[farbric code]), 'Table'[farbric code],",")
1.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

I missed this reply.

maybe you can try to change to ISFILTERED('Table'[month])

changed the doc column to month column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

19 REPLIES 19
Anonymous
Not applicable

Nhiiiii_0-1660722204775.png

My data source same this

ryan_mayu
Super User
Super User

@Anonymous 

maybe you can try this

Measure = CONCATENATEX(values('Table'[farbric code]), 'Table'[farbric code],",")
1.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Yes, thank you!

I have done it before. However, my source data contained a lot of rows... and they outputted everything.

Do you have any other way?

Nhiiiii_0-1660721400805.png

 

do you mean duplicated fabric code?

 

i tried to reproduce the situation, the measure does not combine the repeate fabric code.

1.PNG

 

could you pls provide the sample data?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Oh Yes I made it... Woww... thank you, thank you so much 😘

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Nhiiiii_1-1660723223464.png

Wow, that is result of your formula... only it doesn't follow OUT DOCUMENT

you need to remove the " farbric doe customer " column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Nhiiiii_0-1660722822897.png

the same this... 

Data row is very large. Looks like I need to filter them before using CONCATENATEX... but I don't know how to make

@Anonymous 

still can't reproduce the issue.

1.PNG

is it possbile to share the pbix file after removing sensitive data?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

do you have a way to not have to show its total on the report table?

Nhiiiii_0-1660724590809.png

 

 turn off the total

1.PNG

 

 

or 

 

update the DAX

 

Measure = if(ISFILTERED('Table'[DOC]), CONCATENATEX(VALUES('Table'[farbic code]),'Table'[farbic code],","))

2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Nhiiiii_0-1660726440459.png

I don't know why I use this formula it's not run

Measure = if(ISFILTERED('Table'[DOC]), CONCATENATEX(VALUES('Table'[farbic code]),'Table'[farbic code],","))

  

you can also try this

 

Measure = if(HASONEVALUE('Table'[doc]),CONCATENATEX(VALUES('Table'[fabric code]),'Table'[fabric code],","))




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I missed this reply.

maybe you can try to change to ISFILTERED('Table'[month])

changed the doc column to month column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

It's okay... thank you so much!!!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

wow, I'll use the 2nd method... because I also need to show total of some other columns.

you are really cool

thank you!!!

you are welcome





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.