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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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