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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

How to Conditional Format text in a Text Box

Hello everyone,

 

I have  3 columns - name, load_time, increment, flag (flag is Y if load_time >2, else N)

I have a text box that displays name & load time similar to below based on dynamic value's of their increment value 

 

skedis_1-1698449455771.png

In yellow, is how i'm pulling in the information. 

skedis_3-1698449781756.png

If load time is greater than 2s (where flag is Y), I want to change the font to red. How can I do this? Thank you in advance for your time and expertise.

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 

You can use a card instead of the text box.
1. Create a measure with the needed text :

text test = "bla bla bla"
2. put it on the card and switch the category label off
Ritaf1983_0-1698461355974.png

3. modify the conditional formatting of the callout value according to the flag measure

Ritaf1983_1-1698461472997.png

Result:

Ritaf1983_2-1698461519123.pngRitaf1983_3-1698461542326.png

You can download the linked file and follow my steps

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Anonymous 

You can use a card instead of the text box.
1. Create a measure with the needed text :

text test = "bla bla bla"
2. put it on the card and switch the category label off
Ritaf1983_0-1698461355974.png

3. modify the conditional formatting of the callout value according to the flag measure

Ritaf1983_1-1698461472997.png

Result:

Ritaf1983_2-1698461519123.pngRitaf1983_3-1698461542326.png

You can download the linked file and follow my steps

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

Thank you so much, this worked! 

@Anonymous 
Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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