# Query tag to alleviate some query workloads on perspective pages

**URL:** <https://forum.inductiveautomation.com/t/query-tag-to-alleviate-some-query-workloads-on-perspective-pages/59302>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 6, 2022, 3:16pm UTC](https://forum.inductiveautomation.com/t/query-tag-to-alleviate-some-query-workloads-on-perspective-pages/59302 "2022-05-06T15:16:57Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 23, 2022, 2:11pm UTC](https://forum.inductiveautomation.com/t/query-tag-to-alleviate-some-query-workloads-on-perspective-pages/59302/10 "2022-05-23T14:11:25Z")

</div>

> [@pturmel](#):
>
> require quote marks

```auto
'{[~]Shifts/Current Shift Start}' > '2022-01-25 07:00:00'

```

But, still might not work because the date/time will be formatted using java's style.

Consider not using a query tag. Use a memory tag, and use a gateway tag change event on shift start to run a PrepQuery. That can use `?` substitution to avoid string conversion. Write the result dataset to the memory tag.

---

_[View the full topic](https://forum.inductiveautomation.com/t/query-tag-to-alleviate-some-query-workloads-on-perspective-pages/59302)._
