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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

How to show some message if nothing selected in Search "Text Filter"

I have search text filter as shown below to search for details in table.

Text Filter.png

 

I would like to show below message in search area

 

if search area is blank then "search id here"

if search area has some value then ""

 

I have used measure in title font color fx, but its always showing  "search id here"message in title  but not blank

 

Search = IF(ISFILTERED('Portfolio Epics'[Search])," ", "Search ID here" )
 
can you please let me know how to do this.
 
thank you!
 
regards,
Ashwini
7 REPLIES 7
PabloDeheza
Solution Sage
Solution Sage

Hi @ashuaswinireddy!
You can either use a conditional formatting on title color like this:

PabloDeheza_1-1668712612818.png

Search = IF(ISFILTERED('Portfolio Epics'[Search]),"#F0B323", "#000000" )

Or in the title TEXT like this:

PabloDeheza_0-1668712566136.png

Search = IF(ISFILTERED('Portfolio Epics'[Search])," ", "Search ID here" ) (exactly what you did, but for the text)

Let me know if that helps!

Thank you for your response.

I applied the search measure to title text, but its not working

Text Filter Title Text fx.png

For what i could test, this type of conditional formatting seem to not work with this visual, have you tried with a regular, not imported visual?

Yes, I tested in card visual too..its not working

Anonymous
Not applicable

Hi @ashuaswinireddy ,

As tested, the title conditional formatting for Text filter is not working. You can create a default slicer, the title conditional formatting is working...

yingyinr_0-1668753311012.png

Best Regards

Hi @Anonymous 

 

unfortunately, our requirement is to show it in text filter. Hope we will have this option for text filter in future.

 

thank you!

 

Regards,

Aswini

Anonymous
Not applicable

Hi  @ashuaswinireddy,

You can try to raise a ticket in Power BI Custom Visuals' Community for a dedicated and professional support. For technichal questions and help please reach out pbicvsupport@microsoft.com.

Best Regards

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors