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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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