Im trying to calculate the running total average for a week, week starts Sunday ends Saturday. On Wednesday for example I would like to show the totals for Sun, Mon,Tues, but divide that total by 2, not 3 excluding the weekend dates.
IF([DD_StateProduction$.Date]=max( TOTAL [DD_StateProduction$.Date]), sum([Total Drivers])/num(Weekday(today())), sum([Total Drivers])/5)