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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Concatenatx

Hi Guys,

 

May I ask what is the problem with my dax expression? I want to concatenate "next new line" every after selected values on the parameter.

 

Here's the expression:

 

SelectedEmp = IF(
ISFILTERED(TrackingTicket[employee]),
SELECTEDVALUE(TrackingTicket[employee],
CONCATENATEX(VALUES(TrackingTicket[employee]), TrackingTicket[employee], & UNICHAR(10))
), "All Employees"
)

 

 

Thank you

 

Arvin

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can update your formula like this:

 

Measure = IF(ISFILTERED(TrackingTicket[employee]),CONCATENATEX(ALLSELECTED(TrackingTicket[employee]),TrackingTicket[employee]& UNICHAR(10)),"All Employee")

 

Then we can get the result as below.

 

Capture.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/qyl8cx34biv9g00/tes.pbix?dl=0

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Does that make sense? If so , could you please mark this answer as solution?

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can update your formula like this:

 

Measure = IF(ISFILTERED(TrackingTicket[employee]),CONCATENATEX(ALLSELECTED(TrackingTicket[employee]),TrackingTicket[employee]& UNICHAR(10)),"All Employee")

 

Then we can get the result as below.

 

Capture.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/qyl8cx34biv9g00/tes.pbix?dl=0

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
dtartaglia
Resolver I
Resolver I

Hi @Anonymous what's the desired output look like in a a visual, table, ect?

 

Anonymous
Not applicable

Hi @dtartaglia thank you for taking time responding on my inquiry. The desired output look like is this:

 

When nothing is selected on the Parameter/Filter, it will shows on the CARD, "All Employees". 

When one is selected, it will shows, "Employee 1".

When multiple are selected, it will shows,

 

Employee 1,

Employee 2,

Employee 3

 

something like this.

 

Is this possible?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.