Hi davidj85759080, Earlier, your this approach looked promising to me but it also has some issues. If a business wants to see SKU Demand for "last 7 days" and do grouping as defined earlier by you then it is messing up because in define format you are comparing it every time with the last 30 days un...