I have a calendar table with a flag that indicates working days.
So in my formule I need to get previous working date (from my calendar if possible), and in another previous previous working day. Here I do it for previous day (-1) (the vMaxDate is the min between selected date and my max Qvd date) : sum({1<[Statut]={'LOG'}, Date={$(=$(vMaxDate)-1)}>} [nb_tasks])