Skip to content

MAX

Returns the maximum value from a range of inputs.

js
MAX(input_a, input_b, ...input_n)
MAX(input_a, input_b, ...input_n)

Parameters

  • input_a - Input to be evaluated.
  • input_b - Input to be evaluated.
  • input_n - Input to be evaluated. (optional)

Examples

js
MAX(["Measure A"], ["Measure B"])
MAX(["Measure A"], ["Measure B"])

Result: 2

Note: Assume the value held at Measure A is equal to 1 and the value held at Measure B is equal to 2.