# Tag historian query and sub query

**URL:** <https://forum.inductiveautomation.com/t/tag-historian-query-and-sub-query/80269>\
**Category:** Ignition\
**Created:** [October 10, 2023, 12:07pm UTC](https://forum.inductiveautomation.com/t/tag-historian-query-and-sub-query/80269 "2023-10-10T12:07:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 10, 2023, 1:17pm UTC](https://forum.inductiveautomation.com/t/tag-historian-query-and-sub-query/80269/2 "2023-10-10T13:17:12Z")

</div>

So, your getting a dataset from a historian query or query binding, and you want to SELECT within that dataset? If so, you are in luck:

> [@Automation Professionals' Integration Toolkit Module](https://forum.inductiveautomation.com/t/automation-professionals-integration-toolkit-module/74934):
>
> Automation Professionals is pleased to announce the immediately availability of a major upgrade to its free Simulation Aids Integration Toolkit module. The new feature justifying the "major upgrade" language is the implementation of eleven thirty-one new expression functions which use iteration to accomplish complex transforms of datasets and lists, to or from other datasets and lists, applying filtering, ordering, and computed new columns along the way. While there are certain operations that…

Specifically, the `view()` expression function and its ability to use "Pseudo-SQL" for your task.

---

_[View the full topic](https://forum.inductiveautomation.com/t/tag-historian-query-and-sub-query/80269)._
