# system.tag.queryTagHistory - where clause

**URL:** <https://forum.inductiveautomation.com/t/system-tag-querytaghistory-where-clause/3735>\
**Category:** Ignition\
**Created:** [December 12, 2011, 10:34pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-where-clause/3735 "2011-12-12T22:34:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadMax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@MadMax](https://forum.inductiveautomation.com/u/MadMax)\
**Post date:** [December 12, 2011, 10:34pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-where-clause/3735/1 "2011-12-12T22:34:09Z")

</div>

Could really use the ability to filter tag history returned. Like only returning one tag data value per minute when the raw data was collected at one sample per second.

I realize I can loop thru the “raw” dataset to achieve this effect, but “where-ing” would be much more efficient.
