# Template Column in Pages not able to reference Lookup Date Fields?

**URL:** https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514
**Category:** Ask for Help
**Created:** [September 17, 2022, 11:38am UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514 "2022-09-17T11:38:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)
#### Post date: [September 17, 2022, 11:38am UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514/1 "2022-09-17T11:38:34Z")

</div>

**Describe the bug:**  
I’ve noticed something that might be a bug. I run both an App and a Page using the same data.  
I’ve created a Template Column in both, but in the Pages version, the Template Column doesn’t allow me to select Lookup Columns with Dates in it (BTW: The Lookup Column also displays dates differently in Pages)

**Expected Behaviour:**  
I would expect I can reference the same type of columns across Pages and Apps?

**Demonstration:**  
I’ve attached a few screenshots - hope they help clarify. Otherwise I can record a Loom.  
Date Lookup in Page and App respectively. In Pages, I can’t pull in the Date Lookup in a Template Column.

 ![Screenshot 2022-09-17 at 10.22.06](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/5/351b35d1ff74f42cf842caa81cce38dc5aea72a9.jpeg)  
 ![Screenshot 2022-09-17 at 12.08.07](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/0/d0bf35967c44c8beee2c9a6657d579419d220ec8.png)

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [September 17, 2022, 11:44am UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514/2 "2022-09-17T11:44:55Z")

</div>

In your second screen shot, the Lookup column is returning an array, which is why it can’t be used in your template column.

Check the source of your lookup column. Assuming it’s a relation, it needs to be a _single_ relation.

---

<div class="post-metadata">

### Author: ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)
#### Post date: [September 17, 2022, 1:29pm UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514/3 "2022-09-17T13:29:21Z")

</div>

Thanks a lot Darren 🙏  
That did the trick! Why didn’t I think of that… 😬

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [September 17, 2022, 1:34pm UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514/4 "2022-09-17T13:34:40Z")

</div>

Happens to everyone at least once. Consider it a rite of passage 😉

---

<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: [September 18, 2022, 1:35pm UTC](https://community.glideapps.com/t/template-column-in-pages-not-able-to-reference-lookup-date-fields/49514/5 "2022-09-18T13:35:29Z")

</div>

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