# queryTagHistory Getting Wrong Values

**URL:** <https://forum.inductiveautomation.com/t/querytaghistory-getting-wrong-values/69443>\
**Category:** Ignition\
**Tags:** ignition79, vision\
**Created:** [February 3, 2023, 11:49pm UTC](https://forum.inductiveautomation.com/t/querytaghistory-getting-wrong-values/69443 "2023-02-03T23:49:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [February 4, 2023, 4:41am UTC](https://forum.inductiveautomation.com/t/querytaghistory-getting-wrong-values/69443/2 "2023-02-04T04:41:17Z")

</div>

Are the values misaligned? I've seen similar posts in the forum before.

> [@\[Bug?\]: system.tag.queryTagHistory data issue](https://forum.inductiveautomation.com/t/bug-system-tag-querytaghistory-data-issue/64872/2):
>
> I was able to reproduce your result using power tables, and it really does seem like a bug. When I use system.tag.queryTagHistory with a returnSize parameter of anything other than the default -1, my resultant columns are misaligned by 1 value: In the above example, the table on the left has a return size of 10, and the table on the right has the default return size. Query 1 code: system.tag.queryTagHistory(paths=[path1], startDate=startTime, endDate=endTime, returnSize=10, aggregat…

---

_[View the full topic](https://forum.inductiveautomation.com/t/querytaghistory-getting-wrong-values/69443)._
