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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.