I want to change the column cell background based on the value, but I also want to use a wild card.
Example Field values
Passed (12:20)
Failure (2:30)
Passed (4:40)
I want to change the cell color based on only Passed and Failure and ignore rest of the string.
If this was a solution for you, please mark it as solved, so others can benefit.
Its works. Thanks for your help!!!
If this was a solution for you, please mark it as solved, so others can benefit.
Use the colorPalette format option
<format type="color" field="your_field">
<colorPalette type="expression">case(match(value,"^Passed"), "#008000", match(value, "^Failed"), "#F8BE34", true(), "#000")</colorPalette>
</format>
See the documentation here