Forum Discussion
Baskar
Resident Rockstar
8 years agoPrevious 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()))
?
jyokela
1 year agoFrequent Visitor
This would not work for January because it would get December of current year, not of prior year.