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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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