# Creating a dataset tag by expression

**URL:** <https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 29, 2025, 1:46pm UTC](https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681 "2025-04-29T13:46:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanjohnson](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryanjohnson](https://forum.inductiveautomation.com/u/ryanjohnson)\
**Post date:** [April 29, 2025, 1:46pm UTC](https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681/1 "2025-04-29T13:46:28Z")

</div>

I have PLC tag data that i've managed to get into a vision table using cell updates, however I'd really like to create a dataset tag instead. My tag data has a column that I can use as a sort of "Enable" bit to decide weather or not to include that row in the dataset.

basically, how do I manually create an expression dataset tag? I can figure out how to do all the bindings, and probably the filtering out, but for example...how do i make this  
Name , Number , enabled  
bob , 1 , true  
joe , 2 , false  
ed , 3 , true  
eddy , 4 , false

---

<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:** [April 29, 2025, 3:07pm UTC](https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681/2 "2025-04-29T15:07:18Z")

</div>

There's no native way to do this purely with an expression. The native procedure would be to use a script. The non-native approach would be to use my Integration Toolkit's [unionAll()](https://www.automation-pros.com/toolkit/doc/datasets.html#unionall) function.

If you wish to include live tag data in such a dataset, you probably want to also use my toolkit's `tags()` expression function. (Wrapped in a `unionAll` to force a tag-compatible column type for the tag values.)

---

<div class="post-metadata">

**Author:** ![ryanjohnson](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryanjohnson](https://forum.inductiveautomation.com/u/ryanjohnson)\
**Post date:** [April 30, 2025, 2:05pm UTC](https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681/3 "2025-04-30T14:05:47Z")

</div>

This looks like a pretty robust module, I'll start playing with it today! thank you

---

<div class="post-metadata">

**Author:** ![ryanjohnson](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryanjohnson](https://forum.inductiveautomation.com/u/ryanjohnson)\
**Post date:** [May 8, 2025, 12:47pm UTC](https://forum.inductiveautomation.com/t/creating-a-dataset-tag-by-expression/105681/4 "2025-05-08T12:47:31Z")

</div>

Just coming back to say, It was a pretty powerful tool you made there. it really helped because my data was split across multiple array tags in my plc, and I was really beating myself up on how to join and filter them on ignitions side within an expression!
