Forum Discussion
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 number | Invoice number | Multiple | Total |
| 9999999 | i9 | No | $123 |
| 1111111 | i1 | Yes | $321 |
| i2 | Yes | $456 | |
| i3 | Yes | $788 | |
| 7777777 | i7 | No | $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
- amitchandak
Super User
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
Advocate II
Thank you so much. So, I couldn't do it while using matrix...