Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Switch Max (tooltip) question

Hello:   I have made a tooltip and the dax code it works perfectly. Below is my code:    2021_Event_Type = Switch( Max('Table1'[WEEK]), "1.6 W42", "Event1", "1.7 W43", "Event2", "2.8 W44", "Eve...
  • amitchandak's avatar
    5 years ago

    Anonymous , Try like

     


    2021_Event_Type =
    Switch(
    Max('Table1'[WEEK]) && MAX('Table1'[FY]) = 2021,
    "1.6 W42", "Event1",
    "1.7 W43", "Event2",
    "2.8 W44", "Event3",
    "2.8 W01", " ",
    blank()
    )