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()))
?
v-huizhn-msft
Microsoft Employee
8 years agoHi Baskar,
The formula Greg_Deckler posted works correctly after test, please mark it as answer, more people will benefit from here. Today is 2018/1/16, you will expected result as follows.
Best Regards,
Angelia