• You could left join with a table of all periods, including 0s for NULLs (CASE or ISNULL).

    Or you could "populate" 0 orders with the missing periods.