Forum Discussion
diskovered
Helper III
7 years agoLastMonth
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
- parry2k
Super User
- diskovered
Helper III
Ahhh! That works, thank you!
- diskovered
Helper III
parry2k Any way to add year? (February 2019? in the same code?
- parry2k
Super User