Window Functions for Ranking, Running Totals, and Cohorts
By the end of this module you can compute a total alongside the rows it came from, restart a calculation per group, choose correctly between ROW_NUMBER and RANK when values tie, and build a running total that is actually reproducible.
Units
- Unit 07.00: Aggregating without collapsing rows
- Unit 07.01: PARTITION BY: resetting the calculation per group
- Unit 07.02: ROW_NUMBER, RANK, and what ties do
- Unit 07.03: Running totals and why ORDER BY is mandatory
- Unit 07.04: Filtering on a window result with QUALIFY
