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!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (2,695)