cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daniels471
Helper II
Helper II

flow -min and max values

Hi 

 

I'm new to the flow side of things and am trying to figure out how to get min and max values from a SP list column  , if i could be pointed in the right direction that would be great 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @daniels471 ,

 

Could you tell me:

What is the data type of the column you want to get the maximum and minimum values? 

Is it a Number column?

 

If my assumptions are correct, I did a test for you.

 

1\ This is my list 'LIST112'. 'Test2' is a Number column.

v-xiaochen-msft_0-1618538972887.png

 

2\ Build an instant flow.

v-xiaochen-msft_1-1618539020906.png

v-xiaochen-msft_2-1618539655577.png

v-xiaochen-msft_3-1618539679337.png

v-xiaochen-msft_4-1618539697191.png

v-xiaochen-msft_5-1618539727052.png

min(variables('Thevar'))
 
v-xiaochen-msft_6-1618539763182.png

max(variables('Thevar'))

 

3\ The result is as follows:

v-xiaochen-msft_7-1618539820477.png

 

v-xiaochen-msft_8-1618539834465.png

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

 

 

 

 

 

 

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @daniels471 ,

 

Could you tell me:

What is the data type of the column you want to get the maximum and minimum values? 

Is it a Number column?

 

If my assumptions are correct, I did a test for you.

 

1\ This is my list 'LIST112'. 'Test2' is a Number column.

v-xiaochen-msft_0-1618538972887.png

 

2\ Build an instant flow.

v-xiaochen-msft_1-1618539020906.png

v-xiaochen-msft_2-1618539655577.png

v-xiaochen-msft_3-1618539679337.png

v-xiaochen-msft_4-1618539697191.png

v-xiaochen-msft_5-1618539727052.png

min(variables('Thevar'))
 
v-xiaochen-msft_6-1618539763182.png

max(variables('Thevar'))

 

3\ The result is as follows:

v-xiaochen-msft_7-1618539820477.png

 

v-xiaochen-msft_8-1618539834465.png

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

 

 

 

 

 

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,890)