Menu
CoddyTech

Measures Inside Iterators

Part of the DAX with CALCULATE section of Coddy's Power BI journey. Lesson 15 of 24.

VALUES(Table[Column]) is a table of the different values in the bar.

Inside an iterator, a measure is calculated for the current row: context transition.

Average per Customer = AVERAGEX(VALUES(Sales[CustomerID]), [Revenue])

A bare SUM ignores the row; the measure does not.

challenge icon

Challenge

How much does a customer spend at each shop? Write Average per Customer: the average of Revenue over the different customers. It is checked for each store.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?

All lessons in DAX with CALCULATE