# Using Named Query In Report Builder

**URL:** <https://forum.inductiveautomation.com/t/using-named-query-in-report-builder/18062>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 16, 2018, 1:21pm UTC](https://forum.inductiveautomation.com/t/using-named-query-in-report-builder/18062 "2018-05-16T13:21:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jalitten](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@jalitten](https://forum.inductiveautomation.com/u/jalitten)\
**Post date:** [May 16, 2018, 1:21pm UTC](https://forum.inductiveautomation.com/t/using-named-query-in-report-builder/18062/1 "2018-05-16T13:21:53Z")

</div>

Changing the name of the Data Key when using named query in the report builder will cause an error stating "Named query “” not found. Since the Data Key cannot be changed to another name you cannot use two named query’s in the report.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 16, 2018, 4:47pm UTC](https://forum.inductiveautomation.com/t/using-named-query-in-report-builder/18062/2 "2018-05-16T16:47:11Z")

</div>

Do you still have this problem after saving the project?

Even in the designer preview, reports are always executed on the Gateway, and until the project is saved, your changes to Named Queries aren’t seen on the Gateway. In other places in Ignition, we are able to use the Designer’s version of the Named Query so you see your “current” version, but we can’t do that in reports. :\

---

<div class="post-metadata">

**Author:** ![jalitten](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@jalitten](https://forum.inductiveautomation.com/u/jalitten)\
**Post date:** [May 16, 2018, 8:16pm UTC](https://forum.inductiveautomation.com/t/using-named-query-in-report-builder/18062/3 "2018-05-16T20:16:03Z")

</div>

Yes, saving the project fixed the issue.
