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
JAnsteyH2O
Frequent Visitor

Using a measure to create a comma separated list of values that appear in same column

Hi,

I'm absolutely stumped on how to create this.

 

The data is a direct query from a SQL server that is from the CRM system - we have no control over how this data is presented.Each job on the CRM reports as a singular line in the data table. There are certain items called "tags" which are applied to the job during the review process to show which stage the job is currently at. Tags also apply to sites and customers, and virtualy every other module within the CRM. 

 

for this purpose, we are looking at jobs. A job may have no tags, or it may have 9 - it entiely depends upon where it is in the review and why. However, each tag generates a new row in the data table. Please see example below:

 

Job NumberTag
1Booked with site
1Special invoicing requirements
2 
3Booking process started
3with AM for review
3Special invoicing requirements
4Special invoicing requirements

 

As this is a direct query, im having issues creating a column in the data table that will merge all of the information in row 2, so thought perhaps a measure that could be applied to the visual table may work. However, im having no luck in figuring out the dax.

 

The ideal output would be:

Job NumberTag
1 Booked with site, Special invoicing requirements
2 
3Booking process started, with AM for review, Special invoicing requirements
4Special invoicing requirements

 

I have searched through multiple threads and have only found information to merge the information  as a separate column - as stated this doesnt seem to work with direct query, and i need the dashboard overall to reflect live data at any given point. The alternative suggesgtions have yeilded only errors, EXCEPT for CONCATENATEX which only proceeded to generate a "total" row at the bottom of the table, and not a per line item.

 
Any suggestions/help?
 
Thanks in advance.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JAnsteyH2O , refer if one of the approaches can help

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

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

1 REPLY 1
amitchandak
Super User
Super User

@JAnsteyH2O , refer if one of the approaches can help

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.