Forum Discussion

madhas's avatar
madhas
Frequent Visitor
3 years ago
Solved

conditional marker colors in a chart

I have a set of x, y value which I want to depict in a chart. Is it possible to color the markers based on a third value (for example date)? I want to gray out all x, y with dates < Date_0 and make t...
  • v-jianboli-msft's avatar
    v-jianboli-msft
    3 years ago

    Hi madhas ,

     

    Please try:

    First create a new measure:

     

    Measure = IF(SELECTEDVALUE('Table'[Date])<=DATE(2023,5,12),"gray","blue")

     

    Then conditional format your data:

    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.