In this blog, we will show how to use max function in Power Automate

create an instant cloud flow and provide the trigger as Manually trigger a flow and click on Create as shown in the below figure.

Next take an initialize variable and provide the Name, Type and Value

Next take parallel branch by clicking “+”.

Take initialize variable in the parallel branch and add the Name, Type and Value

now take compose action and name it as Get Maximum values between 2 students and provide the following inputs as below with max function

max(variables(‘student 1’),variables(‘student 2’))

Next take another initialize variable and provide inputs as 

Now take Compose action and provide the below formula in the expression

max(variables(‘ArrayofIntegers’))

Now save and test the flow to the results like below.

For any Help or Queries contact us on info@crmonce.com or +918096556344