I have the data in columns,
VALUES (Some Column) and I wanted to somehow with DAX, convert column rows into a CSV - Row1, Row 2, Row 3, etc.
Thanks in advance.
Go to Solution.
Hi @mannug ,
Here are two output for your scenario.
Firstly, if you want to get the output below, you could use dax expression.
You could create the measure with the formula below.
Measure = CONCATENATEX('Table1','Table1'[Column],",")
If you want to get the Apple, Banana, Grape as a column name, you could achieve in Query Editor.
1. Transpose the Table.
2. Merge the columns.
3. Use first Row as header
Hope this can help!
I'm afraid that we cannot change the column name in the original table with dax.
If it is convenient, could you share some data sample and your desired output so that I could understand your scenario better and try other ways.
Thanks for your message.
I am looking to convert some values returned in a column to comma separated values.
ALLSELECTED ('Products'[Product Name])
SOMEHOW WRITE A DAX TO MAGICALLY OUTPUT - CSV LIST
Apple, Banana, Grape
I hope this helps. Looking forward to any solution. Thanks.
THANK YOU VERY MUCH!!
I cant believe it was that simple.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
We spoke with Power BI Super User, Greg Deckler, about his charity work
Continue your learning in our online communities.