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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.