Forum Discussion

unnijoy's avatar
unnijoy
Post Prodigy
5 years ago
Solved

Dynamic Title

I want to create a Dynamic title based on the month that am selecting. Condetions are below   1 If am selecting All Months then it should show "MTD". 2 If am selecting multiple month's then it sho...
  • amitchandak's avatar
    amitchandak
    5 years ago

    unnijoy  I think I forgot to close ) before =1

     

    SWITCH(TRUE(),
    NOT(ISFILTERED('Month DB'[Month])),"MTD",
    ISFILTERED('Month DB'[Month])&&CALCULATE(DISTINCTCOUNT('Month DB'[Month]),ALLSELECTED('Month DB'[Month]))=1,"MTD","Multiple Month's")