Forum Discussion

gilmore_staci's avatar
gilmore_staci
Helper II
3 years ago
Solved

Card border conditional formatting

I see a lot of posts about changing the background and text color based on a condition but can the border be changed on a Card visual based on a condition?
  • v-jianboli-msft's avatar
    3 years ago

    Hi gilmore_staci ,

     

    Based on your description, I have created a simple sample:

    Average Measure = AVERAGE('Table'[Value])
    
    Border Color = IF([Average Measure]>=90&&[Average Measure]<=100,"Green","Red")

    Please try:

    Format style-> Field value ->What field should we based on?-> [Border Color]

    Final output:

    Best Regards,

    Jianbo Li

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