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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to use a list of values from a field and visualize as a single text by a comma separator?

Hello dear experts, 

 

I'm having a column with Owners as shown below, and in the end I would like to visualize this as "A, B, C, D" in a single card.

 

Please suggest how do I achieve this?

 

jonnaamb_0-1597667685338.png

 

Kind regards,

Ambareesh.

3 ACCEPTED SOLUTIONS
nandukrishnavs
Super User
Super User

@Anonymous 

 

Write a DAX measure

 

Measure = CONCATENATEX('Table','Table'[Owners],",")

 

nandukrishnavs_0-1597668132457.png



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

View solution in original post

harshnathani
Community Champion
Community Champion

Hi @Anonymous 

 

Create a measure

 

MEASURE = CoNCATENATEX ('Table','Table'[Owner],",")

 

Incase you want separate Line

 

MEASURE = CoNCATENATEX ('Table','Table'[Owner],UNICHAR(10))

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

@Anonymous 

 

You could try this DAX

Measure = CONCATENATEX(DISTINCT('Table'[Owners]),'Table'[Owners],",")

nandukrishnavs_0-1597669994286.png



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

View solution in original post

5 REPLIES 5
harshnathani
Community Champion
Community Champion

Hi @Anonymous 

 

Create a measure

 

MEASURE = CoNCATENATEX ('Table','Table'[Owner],",")

 

Incase you want separate Line

 

MEASURE = CoNCATENATEX ('Table','Table'[Owner],UNICHAR(10))

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Anonymous
Not applicable

Hi @harshnathani 

 

Yes almost there, but what if I have duplicates like A, A, B, C, D in the entire list of owners, but I wish to see only A,B,C,D?

 

Thanks for your quick response. 

Anonymous
Not applicable

So I found the answer to the duplicates too.

 

CALCULATE(CONCATENATEX(VALUES(Owner), Owner, ", "))

 

Thank you all for your prompt responses. 

@Anonymous 

 

You could try this DAX

Measure = CONCATENATEX(DISTINCT('Table'[Owners]),'Table'[Owners],",")

nandukrishnavs_0-1597669994286.png



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

nandukrishnavs
Super User
Super User

@Anonymous 

 

Write a DAX measure

 

Measure = CONCATENATEX('Table','Table'[Owners],",")

 

nandukrishnavs_0-1597668132457.png



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.