Forum Discussion
Anonymous
8 years agoNot applicable
DATEDIF months calculation
Hey guys, I'm having troubles with the DATEDIF function. I'm trying to calculate the month difference between a project end date and the date of today. I'm using: Month Delay = DATEDIFF(Proj...
- 8 years ago
Hi Anonymous,
Please use the following formula and check if it works fine.MonthDelay=ROUND(DIVIDE(DATEDIFF(DATE(2018,5,31),TODAY(),DAY),30),0)
Best Regards,
Angelia
chethan
8 years agoResolver III
Anonymous
you Can Try this
Month Delay =
VAR Dateduration = 'Sales Data'[Ship Date] - 'Sales Data'[OrderDate]
RETURN
DIVIDE ( Dateduration, 12, 0 )