Forum Discussion
Brett007
Helper III
6 years agoDuration between two dates
I would like to calculate the difference between Today's Date and the Date in the [Assigned Date] Column. I wanted to present the answer in the form of days. I used the following formula, but t...
- 6 years ago
Hi Brett007 ,
You could try below M code to see whether it work or not
Duration.Days(Duration.From(DateTime.Date(DateTime.LocalNow())-[Assigned Date]))Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
dax
Community Support
6 years agoHi Brett007 ,
You could try below M code to see whether it work or not
Duration.Days(Duration.From(DateTime.Date(DateTime.LocalNow())-[Assigned Date]))
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.