# Query/Rollup column bug in Templates

**URL:** https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930
**Category:** Report a Bug
**Created:** [May 19, 2023, 10:06pm UTC](https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930 "2023-05-19T22:06:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rubenwills](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubenwills/32/59275_2.png) [@rubenwills](https://community.glideapps.com/u/rubenwills)
#### Post date: [May 19, 2023, 10:06pm UTC](https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930/1 "2023-05-19T22:06:43Z")

</div>

I’m having an issue where a Rollup column is not functioning when a project is turned into a Template.

I have created 2 roll ups, one that sums, and one that averages a Query column. Both works as a ‘project’, but when converted to a ‘template’, the average rollup column does not generate a response, and therefore does not display accurately.

Visual from a Project (expected behaviour):

 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/7/b717ef9afc1f8bc9dd3829c5ae843ae3ddbca942.png)  
Visual from the Template (bug):  
 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/0/0067cca9b72da03a7a5d03718cd41fc79b1e07b9.png)  
Data editor from Project (expected behaviour):  
 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/c/9cab1929a2ba3f8c3d65bc6e6a6cec26786ab14c.png)  
Data editor from Template (bug):  
 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/4/c44714afa3d9c7ffa86391482835e6b9e64cb025.png)  
App Template:

> **[Ambulance Roster](https://go.glideapps.com/template/HCvAwsU1qbfW0CbGfimR-template-published?privateTemplateToken=4aLysI7wYdfFjGlj6Dor)**

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [May 19, 2023, 11:22pm UTC](https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930/2 "2023-05-19T23:22:44Z")

</div>

Have you tried re-creating the average rollup column? I assume the rollups are pointing to different columns, but using the same “query” source?

---

<div class="post-metadata">

### Author: ![rubenwills](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubenwills/32/59275_2.png) [@rubenwills](https://community.glideapps.com/u/rubenwills)
#### Post date: [May 19, 2023, 11:35pm UTC](https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930/3 "2023-05-19T23:35:48Z")

</div>

It has self resolved… somehow. Hadn’t changed anything and it now seems to be working. Clearly I just needed to shame it publicly 😂

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [May 20, 2023, 11:35pm UTC](https://community.glideapps.com/t/query-rollup-column-bug-in-templates/61930/4 "2023-05-20T23:35:55Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
