Order Tag History by Timestamp Ascending or Descending

Would it be possible to add a “Order By” option to the tag history binding? I like to populate tables with tag history data but I usually want to see the latest entry first. I would be fine with just a Ascending or Descending check box or something like that.

1 Like

Yes, this definitely seems like something that should be there. We think there are probably a number of things we could do to make querying more flexible, but starting off with this should be easy enough.

I guess for now you could probably rig up a script that runs the query and reverses the dataset, and run the query through that by binding the table dataset to an expression using “runScript”.

Regards,

2 Likes

Is there anything new on this topic?

1 Like

I would like this too so I submitted the idea to Ignition - up vote if you would like to see this too!

https://inductiveautomation.canny.io/ignition-features-and-ideas/p/tag-history-binding-on-table-advanced-querying