Menu
CoddyTech

AVERAGEX and MAXX

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

AVERAGEX, MINX and MAXX work out an expression per row, then average it or keep the smallest or largest.

Biggest Line = MAXX(Sales, Sales[Quantity] * Sales[UnitPrice])

MAX times MAX can mix two different lines; MAXX looks at each line whole.

challenge icon

Challenge

What is the most valuable order line each shop has rung up? Write Biggest Line: the largest quantity times unit price of any line. 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