Hi!
I have a formula to calculate workdays difference between opened ticket and closed status, or today if not closed. Works great in the rest of cases, but in a specific record, a negative value is given, while a record with similar values returns the correct amount.
Below is a screenshot, the translated terms are:
Open days for this ticket, Created ticket date, Solved ticket date
The formula for the “open days for this ticket” is like this:
IF(
(IS_BEFORE({Solved ticket date},TODAY())),
(WORKDAY_DIFF({Solved ticket date},{Created ticket date})),
(WORKDAY_DIFF({Created ticket date},TODAY()))
)
and the formula for Solved ticket date is:
IF( Status = “Finalizado” , DATETIME_FORMAT({Estado cambiado} , ‘DD/MM/YYYY’),BLANK())