Hello @Made_Enny !
Did you use dateDiff to calculate {day_duration}? I would recommend using LAC function so avgOver rather than avg.
{day_duration}