Skip to content

MAX

The MAX function in Infoveave finds the maximum (largest) value in a specified column (Measure).

Applicable to

  • Calculated Columns
  • Expressions

Return Value

  • The largest value in the specified column.

Remark

  • MAX is useful for identifying the maximum value in a dataset (e.g., highest sales, longest duration).
  • MAX returns the maximum value, excluding nulls and blanks.
  • MAX can be used with Dates, Strings, and Numbers.

Syntax

MAX(<expression>)

MAX in Board Expression

Parameters

ParameterDescription
ExpressionPlaceholder replaced with actual widget and measure names.
Widget NameSpecific name of the widget used for data visualization in the Infoboard.
MeasureName of the measure displayed or analyzed using the widget.
  1. Write the MAX function MAX(<expression>)
  2. Replace <expression> with 'Widget Name'[Measure]
  3. Replace Widget Name with your widget’s name and Measure with the measure name.
  4. For configuring Expressions in Infoveave, see Configure Expression.

MAX in Calculated Columns

ParameterDescription
ExpressionPlaceholder replaced with column names.
Column NameName of the column containing the values you want to analyze.
  1. Write the MAX function MAX(<expression>)
  2. Replace <expression> with [Column Name] in the dataset.
  3. For using Infoveave functions in calculated columns, see Add Calculated Column under Sources.

Example

Scenario Finding the maximum product price (under 100) on an e-commerce platform.

Scenario Details

  • Dashboard Name E-commerce Bargain Finder
  • Widget Name Product Prices
  • Measure Name Price

Objective Find the maximum price and check if it exceeds 100.

MAX('Product Proces'[Price]) <= 100

Example

Objective Find the maximum “UNIT PRICE” in a sales dataset.

ORDER DATECOUNTRYCATEGORYUNIT PRICEMARKET PRICEQUANTITY
2024-01-03BrazilBaby Food38.4143.78742
2024-01-07JapanSpices45.5650.815520
Japan43.787410
2024-01-1832.30194
2024-01-22BrazilCosmetics28.33523.01097
2024-01-26Canada20.18523.01099
2024-01-04FranceCereal25.2628.79649
2024-01-09BrazilCereal44.57550.81558
2024-01-14BrazilSnacks20.1854
BrazilCosmetics40.48546.15292
MAX([UNIT PRICE])

The calculated column “Max Unit Price” will return 45.56.

ORDER DATECOUNTRYCATEGORYUNIT PRICEMARKET PRICEQUANTITYMAX UNIT PRICE
03-01-2024BrazilBaby Food38.4143.7874245.56
07-01-2024JapanSpices45.5650.81552045.56
Japan43.78741045.56
18-01-202432.3019445.56
22-01-2024BrazilCosmetics28.33523.0109745.56
26-01-2024Canada20.18523.0109945.56
04-01-2024FranceCereal25.2628.7964945.56
09-01-2024BrazilCereal44.57550.8155845.56
14-01-2024BrazilSnacks20.185445.56
BrazilCosmetics40.48546.1529245.56