Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

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 

 

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

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.

 

 

  • 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

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

    Result:

    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.

     

3 Replies

  • 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

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

    Result:

    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.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you so much, this worked!