← Back|
Season 2
Namaste Power BI
Home
Episode 16

DAX Aggregations

35:00

Episode Summary

Beyond SUM — SUMX, AVERAGEX, COUNTAX, MINX, MAXX and the difference between simple aggregators and iterator functions. Understanding how iterators walk row-by-row through a table.

This is Episode 16 of the free Namaste Power BI course on DevWithData — covering dax aggregations. Watch the video above, then pass the MCQ checkpoint to unlock the next episode and update your Data Readiness Index score.

Key Takeaways

  • SUM/AVERAGE/COUNT are simple aggregators over a single column
  • SUMX/AVERAGEX are iterators — they evaluate an expression per row
  • Iterators create a row context on each row of the table
  • SUMX is needed when your calculation involves multiple columns per row

⚠ Common Interview Pitfalls

  • Using SUM(A*B) — this doesn't work; you need SUMX(table, A*B)
  • Forgetting that iterators create row context (affects context transition)
  • Using iterators when a simple aggregator would suffice (performance cost)

Official Reference

Deepen your understanding with official Microsoft documentation.

Content on DevWithData is original and inspired by official Microsoft resources. The links above point directly to Microsoft Learn — always the authoritative source.

Episode Checkpoint

Sign in to attempt the quiz and unlock the next episode.