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! Learn more

Reply
sunil_Bengaluru
Frequent Visitor

Unable to use Conditional Text in Text box

Hi All,

 

I have a table with 5 names and they are added in a slicer.

 

I have a text box, to which I have added the selection of the filter displayed. It is working correctly.

 

However, I want a message in the Text Box to be "Please select a Name" when nothing is selected in the filter.

 

And this has to be done only in Text box.

 

Could you please guide me on this.

 

Thanks

3 REPLIES 3
VijayP
Super User
Super User

@sunil_Bengaluru 

use a selectedvalue function with switch function and for false condition give a user defined text!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


VijayP
Super User
Super User

@sunil_Bengaluru 

Text box doesn't have conditional formatting capability, but Text Box Title has try on title what exactly you want show case/present




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Hi Vijay,

 

Thanks for the response.

 

As you mentioned I have tried this on "Title " of the text box. It is working correctly when I select any name in the filter.

 

However, when nothing is selected, it is taking the first name from the Slicer list.

 

But I want a text like "Please select a name" to be displayed when nothing is selected.

 

Is this possible?

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