Forum Discussion

Kopek's avatar
Kopek
Icon for Helper IV rankHelper IV
7 years ago
Solved

Difference between today and given date in Working Days

Hello All, I tried to serch for it, but have not found anything.   I would like to calculate difference between today date and estimated go live date in working days. Usually estimated go live is...
  • v-jiascu-msft's avatar
    7 years ago

    Hi Kopek,

     

    Try this formula as a calculated column, please.

     

    column =
    IF (
        [Estimated Go-Live] >= [Today],
        0,
        CALCULATE (
            SUM ( 'Calendar'[Weekend vs. Workday] ),
            FILTER (
                'Calendar',
                'Calendar'[Date] >= [Estimated Go-Live]
                    && 'Calendar'[Date] <= [Today]
            ),
            ALL ( Table1 )
        )
    )
    

     

    Best Regards,
    Dale