~/talk

The Fundamentals of DAX Contexts

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

A concise, demo-first primer that uses a 12-photo dataset in Power BI to demonstrate why the same DAX measure returns different numbers: filter context picks the rows, row context iterates them, and calculate modifies filter context to add, remove or override filters. Examples show concrete results (12 total photos, 45 total subjects, 2 black-subject photos) and patterns: replace calculated columns with AVERAGEX iterator to avoid enlarging the model, use CROSSFILTER to change relationship direction, and use row-to-filter context transitions to compare counts.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:51Session agenda and goals
  3. 3:50Understanding evaluation context
  4. 8:10Data set overview
  5. 10:14Deep dive into filter context
  6. 19:31Exploring row context
  7. 26:50Using the calculate function
  8. 38:15Modifying relationships
  9. 43:44Context transitions and wrap-up
~/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.