# Get Row Index of Dataset Tag

**URL:** <https://forum.inductiveautomation.com/t/get-row-index-of-dataset-tag/96512>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [September 26, 2024, 6:56pm UTC](https://forum.inductiveautomation.com/t/get-row-index-of-dataset-tag/96512 "2024-09-26T18:56:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 30, 2024, 8:51pm UTC](https://forum.inductiveautomation.com/t/get-row-index-of-dataset-tag/96512/8 "2024-09-30T20:51:35Z")

</div>

Is this related to your other post?

> [@Issue with lookup() in tag change script](https://forum.inductiveautomation.com/t/issue-with-lookup-in-tag-change-script/96629):
>
> I'm trying to use lookup() in a tag change script to assign a string value to a memory tag based on the results of a lookup in a dataset tag. My script is showing an error in the Ignition gateway and is not running. I suspect it is a syntax error with the way I am referencing the dataset tag. I tried running the script with line 3 commented out (and writing a random value to dl\_fx instead of 'dl\_ID\_line1'), and the script was able to run fine. For context, [edge]CLICK\_values/Line1/DL\_ID is eq…

---

_[View the full topic](https://forum.inductiveautomation.com/t/get-row-index-of-dataset-tag/96512)._
