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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,343)