wolverinec7
MIS
for every call we take there could be any number of visits needed by an engineer to fix the machine. linked to the call table is a thread table which has a visit number. grouping by call number, i'm trying to work out how many visits were needed to fix x number of calls in a period. using maximum(visit number, call no) brings through the visits needed per call but i'm not sure how to summarise this.