Forum Discussion

diskovered's avatar
diskovered
Helper III
7 years ago
Solved

LastMonth

I want to show last month from today. I have this measure but instead of February it's showing January. Any idea?

 

LastMonth = FORMAT(MONTH(TODAY()-1), "MMMM") <-- this shows January
LastMonth = FORMAT(MONTH(EOMONTH(TODAY(),-1)), "MMMM") <-- this shows January
LastMonth = MONTH(EOMONTH(TODAY(),-1)) <--- this shows '2' or Feb.
 
Thanks

5 Replies