# Tag History Binding, Incorrect Data

**URL:** <https://forum.inductiveautomation.com/t/tag-history-binding-incorrect-data/102377>\
**Category:** Ignition\
**Tags:** database, perspective\
**Created:** [February 14, 2025, 5:57pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-incorrect-data/102377 "2025-02-14T17:57:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackson\_Carlton](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@Jackson\_Carlton](https://forum.inductiveautomation.com/u/Jackson_Carlton)\
**Post date:** [February 14, 2025, 5:57pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-incorrect-data/102377/1 "2025-02-14T17:57:37Z")

</div>

I am making a simple bar chart that shows the count of a bool tag every 12 hours. The tag has been "False" for over 12 hours. To my surprise, my chart showed data this morning after resetting my trial. I queried my DB, but it shows correct. I have reset my trial since this, and have not been able to recreate.

Any ideas?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/d/7d9322666cabcb16346f2b28e4dbe48ed45ab72a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/c/ac50430e61fb25ad0af0d02e9d7326aa0ddc0d4f.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/8/389477d1b5c732b0315756f85a3574474a88ee2d.png)

---

<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:** [February 14, 2025, 6:38pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-incorrect-data/102377/2 "2025-02-14T18:38:51Z")

</div>

It's not quite clear from your question what you're trying to get or what you did get.

The manual on [Tag History Bindings in Perspective | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/bindings-in-perspective/tag-history-bindings-in-perspective#aggregation-mode) states,

> Count - Returns the number of times a value was recorded

I'd expect that to return the number of times '0' appears in the column and the number of times '1' appears in the column, etc.

---

<div class="post-metadata">

**Author:** ![Jackson\_Carlton](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@Jackson\_Carlton](https://forum.inductiveautomation.com/u/Jackson_Carlton)\
**Post date:** [February 14, 2025, 7:42pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-incorrect-data/102377/3 "2025-02-14T19:42:58Z")

</div>

Disregard, I had an incorrect tag path causing unexpected behavior.
