# Single Value --- Greatest and Smallest

**URL:** <https://community.glideapps.com/t/single-value-greatest-and-smallest/19513>\
**Category:** Feature Requests\
**Created:** [December 7, 2020, 6:36pm UTC](https://community.glideapps.com/t/single-value-greatest-and-smallest/19513 "2020-12-07T18:36:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [December 7, 2020, 6:36pm UTC](https://community.glideapps.com/t/single-value-greatest-and-smallest/19513/1 "2020-12-07T18:36:31Z")

</div>

I have a use case where it would be helpful to pull in the smallest value or the greatest value as a Single Value.

It’s hard for me to explain the use case, but basically, a user can submit a time value and should only be able to submit larger time values in the future. If they submit two times and the 2nd time is less than the 1st, pulling in the “Last” single value gives me the smaller time instead of the larger one… so it messes up the logic.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 7, 2020, 7:29pm UTC](https://community.glideapps.com/t/single-value-greatest-and-smallest/19513/3 "2020-12-07T19:29:31Z")

</div>

Would a rollup with min or max work?

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [December 7, 2020, 7:33pm UTC](https://community.glideapps.com/t/single-value-greatest-and-smallest/19513/4 "2020-12-07T19:33:43Z")

</div>

So simple, so right. Thanks again.
