I need first to verify if a ordernr is equal to previous order in the table. If it is same then the Total Nr of changes = 0 and if it changes in comparision to previous it must be 1
I need at the end the sum of changes in my orders for a specified week or Month.