Forum Discussion
alevandenes
Helper IV
3 years agoSubtract one month from date column
Hi Community, I need to create a calculated column that subtracts one month from an Invoice date column. The formula needs to be valid also for the change of the year. [DATEADD works but onl...
- 3 years ago
Hi alevandenes
Try using EDATE function (DAX)
Column = EDATE([Date],-1)Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Anonymous
3 years agoNot applicable
Take a month from a date column like this:
var Month_Name = Month(Datecolumn_name)
return Month_name-1
OR
You can also use Previous Month Function
- alevandenes3 years ago
Helper IV
This doesnt work as it is only taking the month number minuts one.
it doesnt account for change of the year
thanks anyways