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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Dynamic text returning multiple text values

I have a table with a company name and budget. When i click on the company name i want to have a card with dynamic text that will change to show the names of the markets they are in. How do i make a measure like that that shows all the markets. I tried some things but i only get one market back and not all of them.

 

 

Thanks

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

As you can see below using the measure:

 
Market concat = CONCATENATEX('Table';'Table'[Market];",")
concatanex.gif
I achieve the expected result, are you making a measure or a column? Does your table have the Market more than one time per company?
 
If you have more than one value per company try the measure
 
Market concat = CONCATENATEX(DISTINCT('Table'[Market]);'Table'[Market];",")

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
MFelix
Super User
Super User

Hi @Anonymous ,

 

You should use the CONCATANEX formula to calculate this should be something similar to:

 

CONCATENATEX(Table, Table[Column], “,”)

 

Check the documentation for further explanation.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi @MFelix i am not sure this is what i am looking for. The markets are all in the same column. My data looks like that.

 

 

Company A             France

 

Company A             Germany

 

Company A             Japan

 

 

So company A is in 3 markets. If i use CONCATENATEX all i get is France multiple times for some reason.

Hi @Anonymous ,

 

As you can see below using the measure:

 
Market concat = CONCATENATEX('Table';'Table'[Market];",")
concatanex.gif
I achieve the expected result, are you making a measure or a column? Does your table have the Market more than one time per company?
 
If you have more than one value per company try the measure
 
Market concat = CONCATENATEX(DISTINCT('Table'[Market]);'Table'[Market];",")

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thank you so much @MFelix . I didn't put in the Distinct. that was my error. 

 

Many thanks

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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