i was trying to calculate the avg amount sold in our shops per weekday.
i have a table with all the different saleslines and in 1 column i have the sales-id number.
if i calculate an avg i have the the avg per line, but what i want is to calculate the avg per salesorder, but i'm lacking the total per salesorder in my table.