Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Dates breakdown for Countdown

Hi All   Hope you could help   I've been tasked with the breakdown of dates "Review" table to have a breakdown that will show "3 months left until review", "2 months left untl review", "1 month l...
  • Idrissshatila's avatar
    3 years ago

    Hello ,

     

    try this :

     

    Column =
    IF ( DATEDIFF ( TODAY (), 'Location Expiration Index'[Review], MONTH ) = 3, "3 Month",
    IF (DATEIFF(TODAY(), 'Location Expiration Index'[Review],MONTH)=2, "2 Month", "NO ALERT"

     

    If I answered your question, please mark my post as solution, Appreciate your Kudos!

  • Idrissshatila's avatar
    3 years ago

    hello,

     

    Yes try it like this, there was an error in the typing of the measure :

     

    Column =
    IF ( DATEDIFF ( TODAY (), 'Location Expiration Index'[Review], MONTH ) = 3, "3 Month",
    IF (DATEDIFF(TODAY(), 'Location Expiration Index'[Review],MONTH)=2, "2 Month",

    IF (DATEDIFF(TODAY(), 'Location Expiration Index'[Review],MONTH)=1, "1 Month", "NO ALERT"