cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Create a string with all values of column

Hi!

 

I would like to know if it is possible to transform a column in a string. E.g:

 

Collumn A

Value 1

Value 2

Value 3

 

I need that the result will be something like: "Value 1; Value 2; Value 3"

 

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Create a string with all values of column

Try this:

 

Measure = CONCATENATEX(VALUES(Table[Collumn1]),[Collumn1],";") 

---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User IV
Super User IV

Re: Create a string with all values of column

Try this:

 

Measure = CONCATENATEX(VALUES(Table[Collumn1]),[Collumn1],";") 

---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors