Forum Discussion

texasbiuser's avatar
texasbiuser
Frequent Visitor
7 years ago
Solved

Display Current/Previous/Previous-Previous Month Name

Simple question today. I am formatting a report and have the need to display the Current month name, previous month name, and month prior to that. (Ie. January, February, March). This is to compare t...
  • Icey's avatar
    7 years ago

    Hi texasbiuser ,

     

    Try this:

    MonthName -3 = FORMAT ( DATE ( 2016, Table1[MonthNumber] - 3, 1 ), "MMMM" )

     

    Best Regards,

    Icey

     

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