Forum Discussion

GrimReaperX's avatar
GrimReaperX
Helper II
2 years ago
Solved

Conditional formatting on Shape Map

Hello,    I would like to manage colors on the Shape Map based on certain conditions. I have projects and statuses low, medium and high. I would like to show high risk projects red, medium risk pro...
  • v-zhangti's avatar
    2 years ago

    Hi, GrimReaperX 

     

    You can try the following methods.

    Measure = SWITCH(TRUE(),
    SELECTEDVALUE('Table'[Risk Level])="High","Red",
    SELECTEDVALUE('Table'[Risk Level])="Medium","Blue",
    SELECTEDVALUE('Table'[Risk Level])="Low","Green")

    Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.