Forum Discussion

Delphia's avatar
Delphia
Icon for Advocate II rankAdvocate II
4 years ago
Solved

Conditional formating of text field

Good day to all,

I try to do conditional formatting of the text field based on the other text field.

I have the following matrix:

Contract numberInvoice numberMultipleTotal
9999999i9No $123 
1111111i1Yes $321 
 i2Yes $456 
 i3Yes $788 
7777777i7No $787 

 

Column "Multiple" is Boolean and indicates whether there are multiple invoices for this contract.

 

Task: if "Multiple" = True, "Contract number" should be in red.

 

Is there any way to do it in PowerBI?

Thanks a lot in advance!

  • Delphia , You can only conditional format Contract number in table viusal

     

    You can create a measure like

    if(max(Table[Multiple]) ="Yes", "red", "black" )

     

    Use this conditional formatting using the field value option

     

    How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

     

2 Replies

  • Delphia , You can only conditional format Contract number in table viusal

     

    You can create a measure like

    if(max(Table[Multiple]) ="Yes", "red", "black" )

     

    Use this conditional formatting using the field value option

     

    How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

     

    • Delphia's avatar
      Delphia
      Icon for Advocate II rankAdvocate II

      Thank you so much. So, I couldn't do it while using matrix...