~/talk

CALCULATE evaluation order

Talkat SQLBits 2023 · 2023-03-14..03-18· [data-visualization]
links:none on file
slides:none on file

Shows exactly how CALCULATE evaluates filters: filters and modifiers are evaluated first (context transition happens on expanded tables), then the expression runs, so nested CALCULATEs and ALL / REMOVEFILTERS change outcome by ordering. Introduces a visual power Matrix to trace lineage, blocking semantics, and why filtering one column is faster. Demonstrates differences between regular filters, KEEPFILTERS, and model modifiers, and publishes runnable examples on GitHub covering surprising nested-order behaviors.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Calculate function basics
  3. 2:37Evaluation order & modifiers
  4. 4:53Filter best practices
  5. 6:53The power matrix tool
  6. 8:52Nested calculate scenarios
  7. 12:55Advanced filter evaluation
  8. 17:16Final steps and conclusion
~/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.