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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors