# queryTagHistory with Good\_Backfill

**URL:** <https://forum.inductiveautomation.com/t/querytaghistory-with-good-backfill/113220>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 12, 2026, 6:32pm UTC](https://forum.inductiveautomation.com/t/querytaghistory-with-good-backfill/113220 "2026-01-12T18:32:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 12, 2026, 6:32pm UTC](https://forum.inductiveautomation.com/t/querytaghistory-with-good-backfill/113220/1 "2026-01-12T18:32:32Z")

</div>

Testing on Ignition 8.1.50…

We’ve got a standard tag provider setup with “Allow Back-fill Data” enabled, and have tags which often get backfill data (i.e. with a timestamp before the current/recent value). The backlog values get put into the history tables just fine, and don’t trigger alarms or change events. 👍

When I query the tag using `queryTagHistory`, I have to do it with `ignoreBadQuality` set to false or the backlog values aren’t shown. There is no easy way to get the return format as wide with only “good” values if I want to include the backfill. The best method I can see is to get the results in tall mode, filter on the quality ourselves (backlog tags show up with quality=203 in tall mode), and then transpose it back to wide mode ourselves.

This feels very _wrong_ to me, especially since “Good\_Backfill” is listed in the “Good” quality code table in the manual: [Quality Codes and Overlays | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/tags/quality-codes-and-overlays#quality-code-reference-table)

Good\_Backfill also passes the `isGood()` method.

Is this intentional or an oversight?

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 12, 2026, 8:13pm UTC](https://forum.inductiveautomation.com/t/querytaghistory-with-good-backfill/113220/2 "2026-01-12T20:13:35Z")

</div>

The same overall issue applies with Perspective powerchart but worse: we cannot seem to get the good backfill data in the graph in any way.
