Skip to content

MAXX

The MAXX function in Infoveave is used to find the maximum (largest) value within the specified column, based on a specified condition defined by the argument.

Applicable to

  • Calculated Columns
  • Expressions

Return Value

The return value of the MAXX function is the largest value found within the specified column over the applied condition.

Remark

MAXX is particularly useful when you need to find the maximum value under specific conditions within your data, allowing you to make conditional calculations based on criteria.

Syntax

MAXX(<Reference>,<Condition>)

MAXX in Board Expression

ParameterDescription
ExpressionA placeholder in a function that is replaced with the actual widget and measure names.
ConditionA placeholder in a function that is replaced with the condition filter.
Widget NameThe specific name or identifier of the widget being used for data visualization in the specific Infoboard.
MeasureRepresents the name of the measure that is being displayed or analyzed using the widget.
DimensionRepresents the dimension column that is being displayed or analyzed using the widget.
Dimension ValueRepresents the specific dimension items within the dimension column used for the visualization in the widget.

Steps to Use MAXX

  1. Write the MAXX function. For instance MAXX(<expression>,<condition>)
  2. Replace <expression> with 'Widget Name'[Measure] and <condition> with [Dimension Name]="Dimension Value". Replace Widget Name, Measure, Dimension, and Dimension Value with your actual values.
  3. To learn how to configure an Expression in Infoveave, visit the section Configure Expression.

MAXX in Calculated Columns

ParameterDescription
ExpressionA placeholder in a function that is replaced with the column names.
ConditionA placeholder in a function that is replaced with the condition filter.
Column NameThe name of the column in the dataset or Datasource that contains the values you want to analyze.
Filter ConditionA filter condition returns the data points that meet the defined condition that you want to analyze. The filter condition can be either a string or a numeric.

Steps to Use MAXX in Calculated Columns

  1. Write the MAXX function. For instance MAXX(<expression>,<condition>)
  2. Replace <expression> with [Column Name] and <condition> with [Column Name]="Filter Condition". Replace Column Name and Filter Condition with your actual values.
  3. To learn how to add calculated columns in Infoveave, visit the section Calculated Columns under Sources.

Objective Consider that you have the below sales dataset, your goal is to find the maximum entry value under MARKET PRICE for the COUNTRY is Brazil.

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.57553.81558
2024-01-14BrazilSnacks20.1854
BrazilCosmetics40.48546.15292
  • You can use the MAXX function like
MAXX([QUANTITY] , [CATEGORY]="Cereal")

The new calculated column “Max Market Price” will return the total number of rows in the dataset considering nulls and blanks as 53.8155


ORDER DATECOUNTRYCATEGORYUNIT PRICEMARKET PRICEQUANTITYMIN MARKET PRICE
03-01-2024BrazilBaby Food38.4143.7874253.8155
07-01-2024JapanSpices45.5650.81552053.8155
Japan43.78741053.8155
18-01-202432.3019453.8155
22-01-2024BrazilCosmetics28.33523.0109753.8155
26-01-2024Canada20.18523.0109953.8155
04-01-2024FranceCereal25.2628.7964953.8155
09-01-2024BrazilCereal44.57553.8155853.8155
14-01-2024BrazilSnacks20.185453.8155
BrazilCosmetics40.48546.1529253.8155