Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Conditionally Format Values Based on User Defined Values

Hey Guys,   Pretty stumped on this one after spending a day watching videos, can't quite find anything to solve what feels like an easy issue, maybe I am completely out thinking myself.    My exa...
  • PaulDBrown's avatar
    4 years ago

    Assuming you have a table with the priority field and values to calculate the [Service level] measure & a target table as shown, with this model:

     

    and this measure to use for field in the conditional formatting options:

    Condit Format = IF([Service Level] > SELECTEDVALUE(Targets[Target]), "Green", "red")

    Add the priority field from the target table to the visual & the [Service Level] measure, and the apply the conditional formatting using the measure above to get:

    I've attached a sample PBIX file