Conditional Aggregates

Learn how to apply conditions on aggregate expressions to produce advanced reports and pivot tables.

Overview

When analyzing a table using aggregates, it is sometimes necessary to apply some filtering to the data. For example, say we want to count the number of managers and non-managers in a single query:

Get hands-on with 1200+ tech skills courses.