# Referencing Tag History Value Expression Error

**URL:** <https://forum.inductiveautomation.com/t/referencing-tag-history-value-expression-error/87061>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 8, 2024, 7:58pm UTC](https://forum.inductiveautomation.com/t/referencing-tag-history-value-expression-error/87061 "2024-03-08T19:58:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gillian\_Carter](https://avatars.discourse-cdn.com/v4/letter/g/8edcca/32.png) [@Gillian\_Carter](https://forum.inductiveautomation.com/u/Gillian_Carter)\
**Post date:** [March 8, 2024, 7:58pm UTC](https://forum.inductiveautomation.com/t/referencing-tag-history-value-expression-error/87061/1 "2024-03-08T19:58:17Z")

</div>

I am able to get the tag history value, however when I reference that value in another binding I get an Expression Error saying I need to select the array value.  
I tried just adding [0] to the end but it doesn't fix the error

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e2d02a40511eebb02514944f39ef9e9412284c0.png)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 8, 2024, 8:28pm UTC](https://forum.inductiveautomation.com/t/referencing-tag-history-value-expression-error/87061/2 "2024-03-08T20:28:46Z")

</div>

Because it isn't a simple array, but rather a dataset. You must provide a row and a column to get a value.

```auto
{.../LedDisplay_ActualCycles.props.value}[0][0]

```

or perhaps better would be to use a `lookup()` expression.
