~/talk

Aggregations in Power BI

Talkat SQLBits 2024 · 2024-03-19..03-23· [data-visualization]
links:none on file
slides:none on file

Shows how Power BI rewrites slow DirectQuery SQL into smaller pre-aggregated tables and when that succeeds or fails, using DAX Studio performance traces and Power BI Performance Analyzer to see “match found” rewrites. Builds sales_by_date and sales_by_customer_date in SQL (recommended as a materialized view in SQL Server), sets aggregation mappings and precedence, and converts row-level pricequantity into a calculated column for line amount* so SUM can match. Some queries rewrite and run in-memory fast; others fail when required dimensions (product brand) aren’t in the aggregation or when imported aggregates become stale.

AI-written summary · about

  1. 0:00Aggregations in Power BI
  2. 4:07Power BI engine architecture
  3. 12:59Manual aggregations in DirectQuery
  4. 28:48Complex measures with aggregations
  5. 34:40Aggregation types
  6. 38:56Switching to Import mode
  7. 45:26When to use aggregations
  8. 49:00Automatic aggregations limits
  9. 50:25Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.