Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DATEDIFF Calculation with Condition

Hi guys, I need a bit of help; please see the below example. I need Project Duration (Age) Calculation based on the below condition * If Project status is ''In Progress'''  or ''blank'' Calculate t...
  • Ashish_Mathur's avatar
    4 years ago

    Hi,

    Write this calculated column formula

    Duration = 1*(if(Data[Status]="Completed",[Contruction date]-[Start date],today()-[Start date]))

    Hope this helps.