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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Super User
Super User

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
Super User
Super User

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.