Forum Discussion

replayyy's avatar
replayyy
Frequent Visitor
6 years ago
Solved

Error calculating difference in days

 Hi all,   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(Dura...
  • parry2k's avatar
    6 years ago

    replayyy as the error suggest, your columns need to be date/time type to apply duration function and seem like one of the column is only date not date/time

     

    I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    ⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡