Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
4 years ago
Solved

Average between dates

Hello! I am calculating the average between 2 dates (application start date and closing date). Create a column to calculate the duration with the following formula: Duration = DATEDIFF('Table'[St...
  • Ashish_Mathur's avatar
    4 years ago

    Hi,

    Assuming Duration is a calculated column formula, edit the formula to:

    Duration = if(isblank(Table[dated]),blank(),DATEDIFF('Table'[Start Date],'Table'[Dated],DAY))

    The average should not be correct.