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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.