# Use INT tag for variable \[resultColumn\] in lookup expression

**URL:** <https://forum.inductiveautomation.com/t/use-int-tag-for-variable-resultcolumn-in-lookup-expression/111025>\
**Category:** Ignition\
**Created:** [September 26, 2025, 9:37pm UTC](https://forum.inductiveautomation.com/t/use-int-tag-for-variable-resultcolumn-in-lookup-expression/111025 "2025-09-26T21:37:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbooth](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jbooth](https://forum.inductiveautomation.com/u/jbooth)\
**Post date:** [September 26, 2025, 9:37pm UTC](https://forum.inductiveautomation.com/t/use-int-tag-for-variable-resultcolumn-in-lookup-expression/111025/1 "2025-09-26T21:37:37Z")

</div>

Is there a way to use an integer tag in [resultColumn] parameter of lookup expression so i can have a single lookup tag instead of having to create 45 different looup tags? I tried just putting the tag name in and get ‘Error\_TypeConversion’ when plc sets the lookup tags.

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [September 26, 2025, 9:49pm UTC](https://forum.inductiveautomation.com/t/use-int-tag-for-variable-resultcolumn-in-lookup-expression/111025/2 "2025-09-26T21:49:06Z")

</div>

Are you sure the tag is coming in as an integer? You should just be able to do  
`lookup({dataset}, {value}, defaultValue, lookupColumn, {path/to/driving/tag})`. Where is the expression located? Perhaps the value type coming out of the lookup expression doesn't match the expected type.

Show your expression, and where it is located/bound.

Edit: I tested the above with using both a tag and a custom property to drive the `resultColumn` value, and was not able to get it to give me a conversion error. Even passing in a null value to the `resultColumn` value resulted it in returning a value.

---

<div class="post-metadata">

**Author:** ![jbooth](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jbooth](https://forum.inductiveautomation.com/u/jbooth)\
**Post date:** [September 29, 2025, 11:32am UTC](https://forum.inductiveautomation.com/t/use-int-tag-for-variable-resultcolumn-in-lookup-expression/111025/3 "2025-09-29T11:32:44Z")

</div>

Thank you for the reply. I checked back on the data types, and found that i had forgotten to set the expression tag to string. Fixed that and working perfectly.
