Forum Discussion
Anonymous
8 years agoNot applicable
Previous Month from NOW() or Today()
Thanks Advanced, I have to get Previous month from NOW() or TODAY(). While using DATEADD or PREVIOUSMONTH it was asking Dates as columns. It won't allow this two functions. Greg_Deckler
- 8 years ago
How about:
Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))
?
Greg_Deckler
Community Champion
8 years agoHow about:
Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))
?
lilas153
4 years agoRegular Visitor
This will not give you last month's date for months with no day 31 or Feb 29