DAX Aggregation - MAXX function


Advertisements

Description

Evaluates an expression for each row of a table and returns the largest numeric value.

Syntax

MAXX (<table>, <expression>) 

Parameters

Sr.No. Parameter & Description
1

table

The table containing the rows for which the expression will be evaluated.

2

expression

The expression to be evaluated for each row of the table that returns a numeric value.

Return Value

Returns a decimal number.

Remarks

Of the values to evaluate, only the following are counted −

  • Numbers. If the expression does not evaluate to a number, MAXX returns 0 (zero).

  • Dates.

Empty cells, logical values, and text values are ignored.

Example

= MAXX (East_Sales,East_Sales[No. of Units]*East_Sales[Unit Price]) 
dax_functions_aggregation.htm

Useful Video Courses


Video

Mastering DAX and Data Models in Power BI Desktop

53 Lectures 5.5 hours

Abhay Gadiya

Video

Mastering DAX Studio

Featured

24 Lectures 2 hours

Randy Minder

Video

DAX / Power BI - Customer and Sales Analysis Deep Dive

26 Lectures 4.5 hours

Randy Minder

Advertisements