# Conditional Rollup within Glide data editor

**URL:** <https://community.glideapps.com/t/conditional-rollup-within-glide-data-editor/9415>\
**Category:** Ask for Help\
**Created:** [May 19, 2020, 9:55am UTC](https://community.glideapps.com/t/conditional-rollup-within-glide-data-editor/9415 "2020-05-19T09:55:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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 4, 2020, 4:54pm UTC](https://community.glideapps.com/t/conditional-rollup-within-glide-data-editor/9415/7 "2020-12-04T16:54:46Z")

</div>

In your log sheet create an if then column and fill it with true if the log has a meter reading greater than zero. Then create a template that joins the machine ID and the if then value. In your machine sheet, create a template of machine ID and the word ‘true’. Now change your relation to use those templates to link machine to log. Your rollup should then show the max date of a log that has a meter reading.

---

_[View the full topic](https://community.glideapps.com/t/conditional-rollup-within-glide-data-editor/9415)._
