~/talk

Using ALLEXCEPT or ALL/VALUES?

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases, developer-experience]
links:none on file
slides:none on file

Demonstrates that ALL/ALLEXCEPT vs VALUES+REMOVEFILTERS is a functional choice in DAX: ALL or REMOVEFILTERS clear filters, ALLEXCEPT removes every other column but only works if the higher-level column (continent) stays in the visual. Builds a percentage-of-continent measure in Power BI using CALCULATE, VALUES and REMOVEFILTERS, tests it across drilldowns and when users remove continent or add product columns, and shows the CALCULATE+VALUES then REMOVEFILTERS pattern reliably preserves the intended continent value while ALLEXCEPT can fail.

AI-written summary · about

  1. 0:00ALL and ALL/EXCEPT in DAX
  2. 1:10ALL vs ALL/EXCEPT basics
  3. 4:00Percentage of continent measure
  4. 8:12ALL/EXCEPT for dynamic hierarchies
  5. 11:28Testing ALL/EXCEPT with non-hierarchies
  6. 13:38ALL/EXCEPT limitations
  7. 16:07ALL/EXCEPT failures and alternatives
  8. 17:35REMOVEFILTERS and VALUES pattern
  9. 20:47Conclusion
~/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.