Brett007
6 years agoHelper III
Duration 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 the whole column shows errors.
Duration.Days((DateTime.FixedLocalNow())-([Assigned Date]))
Any Suggestions
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.