max. Math Function.(Power Automate Cloud flows)

03/11/2024

Japanese version.

Get the maximum value among the specified numbers.

Spec

max(<number1>, <number2> ~ <numberN>)
ArgumentDefaultDescription
numberNRequired fieldTarget number or array of numbers.

How to use

In most cases, it is used in the "Value" when "Initialize variable" or "Set variable" of type "Integer" or "Float".

Click on the "Expressions" tab, max, and the function name and () will be set in the formula field.

Specify numeric values as arguments, separated by commas.

If you want to use dynamic contents or variables, specify them specially.

(How to get dynamic content with an expression)

If you see something like the following, your settings are complete.

Click on the purple icon to change the function.

Examples of arguments and results

Numeric

For example, max(100,50,300,200,150) results in 300.

Array

Arrays can also be specified as arguments.

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

Math Functions

Examples of Use

How to get the count, sum, average, maximum, and minimum of numbers in an array.