# Perspective Tag History binding - collecting Duration On , on conditions of two Tags

**URL:** <https://forum.inductiveautomation.com/t/perspective-tag-history-binding-collecting-duration-on-on-conditions-of-two-tags/92358>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [June 25, 2024, 7:09pm UTC](https://forum.inductiveautomation.com/t/perspective-tag-history-binding-collecting-duration-on-on-conditions-of-two-tags/92358 "2024-06-25T19:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 25, 2024, 9:37pm UTC](https://forum.inductiveautomation.com/t/perspective-tag-history-binding-collecting-duration-on-on-conditions-of-two-tags/92358/5 "2024-06-25T21:37:05Z")

</div>

In addition to all these other things, expression mode in a tag history binding doesn't work the way you're attempting to. The expression you author needs to return a well-formatted array of objects that describe the tags you want to return history for.

See the first bullet here:

> [@Indirect Tag History Binding Expression](https://forum.inductiveautomation.com/t/indirect-tag-history-binding-expression/86836/3):
>
> I think there's two fundamental things that you're missing, one of which is (in my opinion) really, really bad UX on our part. The 'Expression' mode for a tag history binding expects you to author an expression that returns a well formatted tag history configuration object. Since you currently cannot [[1]](#footnote-329286-1) create arbitrary array and object literals in expressions, your tag history binding expression must point to some other custom property literal. There's literally no other way to use expressi…

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-tag-history-binding-collecting-duration-on-on-conditions-of-two-tags/92358)._
