~/talk

Understanding window functions in DAX

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

Covers practical DAX window functions with concrete demos showing when they simplify code or hurt performance: index picks absolute positions (positive from top, negative from bottom) and requires unique rows or ties resolve deterministically; offset and window compute relative ranges and produce unions when multiple values exist; apply semantics explains how row and filter contexts merge so a function without a table uses allselected of the orderby columns; shows partitioning, ranking differences, and debugging tips.

AI-written summary · about

  1. 0:00Introduction to DAX windows
  2. 2:24Understanding index function
  3. 3:28Index function practical demo
  4. 7:00Handling ties in indexing
  5. 8:21Addressing duplicated rows
  6. 11:52Implementing partitions
  7. 13:21Partition demo and use cases
  8. 14:59Implicit table arguments
  9. 16:40Context transition in DAX
  10. 19:42Introduction to offset
  11. 21:44Applying offset semantics
  12. 25:46Offset practical demo
  13. 31:00Analyzing complex filters
  14. 34:02Internal behavior of offset
  15. 36:29Using offset for comparisons
  16. 37:20Introduction to window
  17. 39:14Window partition analysis
  18. 41:43Window function applications
  19. 42:56Rank and row number functions
  20. 43:25Comparing rank and row number
  21. 44:59Debugging complex DAX
  22. 48:26Fixing and wrapping 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.