Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
Solved! Go to Solution.
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.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/qyl8cx34biv9g00/tes.pbix?dl=0
Regards,
Frank
Hi @Anonymous,
Does that make sense? If so , could you please mark this answer as solution?
Regards,
Frank
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.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/qyl8cx34biv9g00/tes.pbix?dl=0
Regards,
Frank
Hi @Anonymous what's the desired output look like in a a visual, table, ect?
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?
User | Count |
---|---|
136 | |
73 | |
72 | |
57 | |
55 |
User | Count |
---|---|
194 | |
95 | |
63 | |
63 | |
51 |