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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JasonWhitehouse
New Member

How to show multiple text entries in a single column?

Hi,

 

Hoping someone can help explain how to show multiple text entires in a single column.

 

Currently I have selected 'Count (Distinct)' on '# countries' which returns the below table: 

JasonWhitehouse_2-1664875325141.png

However, in the same table I also want to see who the countries are. If I change 'Count (Distinct)' to 'Don't summarize' then I get the below view, but then each country is shown on a new row:

JasonWhitehouse_1-1664875248321.png

 

I'd like to have it where on a single row it shows that for a Company 'ie Crystal Martin', they operate in 2 countries, and those countries are show as 'Bangladesh, Sri Lanka'

 

Is this possible? Feels like an easy one but I haven't been able to find a solution.

 

Thanks in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JasonWhitehouse ,

 

Create a measure and use that

 

concatenateX(Table, Table[Country], ", ")

 

Concatenate Text- Measure, DAX Table, and Power Query Table: https://youtu.be/xAh3tz1qo24

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@JasonWhitehouse ,

 

Create a measure and use that

 

concatenateX(Table, Table[Country], ", ")

 

Concatenate Text- Measure, DAX Table, and Power Query Table: https://youtu.be/xAh3tz1qo24

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks so much @amitchandak!

 

The solution you provided returned the following:

 

Supplier Countries =

concatenateX(Table, Table[Country], ", ")

JasonWhitehouse_0-1664877828909.png

 

However, because I wanted distinct country values only, there was a solution in the link to the video you provided:

 

Supplier Countries =
    concatenateX(VALUES(Table[Country]), [Country], ", ")

JasonWhitehouse_1-1664877939384.png

 

Thanks once again for your help and prompt response!!

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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