DAX Aggregation - MAXA function


Advertisements

Description

Returns the largest value in a column.

Syntax

MAXA (<column>) 

Parameters

Sr.No. Parameter & Description
1

column

The column in which you want to find the largest value.

Return Value

Returns a decimal number.

Remarks

The MAXA function takes as argument a column, and looks for the largest value among the following types of values −

  • Numbers

  • Dates

  • Logical values, such as TRUE and FALSE. Rows that evaluate to TRUE count as 1 and rows that evaluate to FALSE count as 0 (zero).

Empty cells are ignored. If the column contains no values that can be used, MAXA returns 0 (zero).

Example

= MAXA (ProductInventory[UsageDate]) 
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