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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Fusilier
Helper III
Helper III

Help with CONCATENEX

Hi,

I have this measure using CONCATENEX:

Measure 2 = CONCATENATEX ( VALUES ('Raw Data'[Department]) , [Department] , ", ")
It works fine with a dynamic text box showing multiple selections from a slicer (Department A, Department B etc.). However when nothing has been selected on the filter it displays a list of all of the slicer values.
Is there any way of modifying the measure so if nothing has been selected there is a message such as 'Nothing selected' or 'Choose Departments'?
1 ACCEPTED SOLUTION
dharmendars007
Solution Sage
Solution Sage

Hello @Fusilier 

 

Please try the below measure..

 

Measure 2 =
IF(
ISFILTERED('Raw Data'[Department]),
CONCATENATEX(VALUES('Raw Data'[Department]), [Department], ", "),
"Choose Departments")

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

2 REPLIES 2
dharmendars007
Solution Sage
Solution Sage

Hello @Fusilier 

 

Please try the below measure..

 

Measure 2 =
IF(
ISFILTERED('Raw Data'[Department]),
CONCATENATEX(VALUES('Raw Data'[Department]), [Department], ", "),
"Choose Departments")

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Blimey, that was quick!

Works like a dream.

Thank you.

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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