Forum Discussion

cristianml's avatar
cristianml
Icon for Post Prodigy rankPost Prodigy
4 years ago
Solved

If Date equal to Month Then

Hi,   I need a measure that can give "MTD" when : > IF The month of the "As of Date" IS THE SAME to the month of the date from Calendar table then "MTD" else blank.   I tried to do someting like...
  • v-yanjiang-msft's avatar
    4 years ago

    Hi @cristianml,

    According to your description, here’s my solution.

    If you want the year and month of the "As of Date" is the same to the year and month of the date from Calendar, you can try like this:

     

    Best Regards,
    Community Support Team _ kalyj


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.