In this video, the instructor introduces you to iterator, or "X" functions, which operate by repeating a calculation across all rows in a table and aggregating the results. In this demo, look at the SUMX function specifically.
- [Instructor] All right, we're savin' some of…the best stuff for last,…'cause up now, we've got iterator, or X functions.…And the thing about these iterator functions…is that they allow you to loop through…the same calculation or expression…on every single row of a table…and then apply some sort of aggregation…to the results.…So you can take the sum, the max, the min,…the count, the average, any kind of aggregation.…So if you've ever written a sum product function…in Excel, then you already know how these work.…Because the sum product takes a product…on each row of the data set…and then sums the answers up.…
The difference is that instead of just…taking a sum, like a sumx,…you've got several other options as well.…So you've got a countx version, an averagex,…a rankx, a maxx and a minx.…And each of these applies a different…type of aggregation to the results derived…by the expression.…So the first argument in the syntax…is just a reference to the table.…And this is the table in which…the expression will be evaluated.…
- Power Pivots versus normal pivots
- Creating calculated columns and measures
- Power Pivot and DAX best practices
- Math, stats, and COUNT functions
- CALCULATE, FILTER, and ALL functions
- Joining data with RELATED
- Using iterator functions (SUMX and RANKX)
- Time intelligence formulas
Skill Level Intermediate
1. Getting Started
Set expectations1m 46s
2. Power Pivot and DAX 101
3. Common DAX Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.