# Does the Internal History Provider store tags qualities?

**URL:** <https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [May 13, 2025, 3:49pm UTC](https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196 "2025-05-13T15:49:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [May 13, 2025, 3:49pm UTC](https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196/1 "2025-05-13T15:49:42Z")

</div>

I'm trying to get the quality stored in the interal history provide. How could I see that?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 13, 2025, 4:38pm UTC](https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196/2 "2025-05-13T16:38:00Z")

</div>

It's stored in the [Ignition Database Table Reference | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/reference-pages/ignition-database-table-reference#sqlth_1_data) sqlth\_1\_yyyy\_mm datatable in the dataintegrity column. `192` is good!

The [system.tag.queryTagHistory | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-queryTagHistory) function doesn't return the quality but you can call it with `ignoreBadQuality = True` to force it to ignore garbage. The linked page says:

> `ignoreBadQuality` A boolean flag indicating that bad quality values should not be used in the query process. If set, any value with a "bad" quality will be completely ignored in calculations and in the result set. [optional]

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [May 14, 2025, 8:48am UTC](https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196/3 "2025-05-14T08:48:33Z")

</div>

Thanks! Yout actually guided me the right way.

I founded the internal historian tables and transformed those to csv, then I analized all the quality.

Thanks Transistor!

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 14, 2025, 9:29am UTC](https://forum.inductiveautomation.com/t/does-the-internal-history-provider-store-tags-qualities/106196/4 "2025-05-14T09:29:07Z")

</div>

Good. Don't forget to click the "Solution" link to mark the question as solved.
