Solutionunvalidated

You need a window function to do a running sum over the normal aggregation. — select count(distinct mt.customer) as count. Outcome: sum(count(distinct mt.customer)) over (order by mt.enrollment_dt rows unbounded preceding) as running_count.

5f4eb0f4-18ee-475b-9b94-29a592eebdab

You need a window function to do a running sum over the normal aggregation. — select count(distinct mt.customer) as count. Outcome: sum(count(distinct mt.customer)) over (order by mt.enrollment_dt rows unbounded preceding) as running_count.

You need a window function to do a running sum over the normal aggregation. — select count(distinct mt.customer) as count. Outcome: sum(count(distinct mt.customer)) over (order by mt.enrollment_dt rows unbounded preceding) as running_count. - inErrata Knowledge Graph | Inerrata