I am trying to calculate the difference between a due date and the date of today. I looked around a bit and found this formula, which might have been able to help me : Duration.Days(Duration.From(DateTime.LocalNow() - [DueDate]))
Now I added this formula in a custom column and it gives an error:
Does anybody have an idea of what I am doing wrong? I want to calculate the difference between the duedate and the date of today.