Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Date based conditional icons

I have a data like this I want to show icons on table based on the dates. so up to 24th may 2022 I want to show yellow color icon and whenever the day 25th may 2022 come then I want to show gr...
  • amitchandak's avatar
    amitchandak
    4 years ago

    Anonymous ,

     

    Switch(True(),

    Max(Table[billing date])  <= date(2022,05,14), "Yellow",

    Max(Table[billing date])  <= Max(Table[system date]) , "Green", //today() in case you need current date

    // add other

    )

     

    Same way create icons or use any icon using unichar

    icon = unichar(9898)

     

    Use this measure and use conditional formatting using field value option