# Reference tag to also get Data Historian data

**URL:** <https://forum.inductiveautomation.com/t/reference-tag-to-also-get-data-historian-data/74473>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 2, 2023, 7:49am UTC](https://forum.inductiveautomation.com/t/reference-tag-to-also-get-data-historian-data/74473 "2023-06-02T07:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siim\_suitslepp](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@siim\_suitslepp](https://forum.inductiveautomation.com/u/siim_suitslepp)\
**Post date:** [June 2, 2023, 7:49am UTC](https://forum.inductiveautomation.com/t/reference-tag-to-also-get-data-historian-data/74473/1 "2023-06-02T07:49:13Z")

</div>

Hey!

Today I was thinking if a refence tag could not only get current tag value, but also the history of tag via tag historian. After testing I feel like the awnser is no. However I was wondering if there are work arounds

I am just trying to implement a hierarchical model (Client/Park/Cluster/Inverter) to old PV parks (5 years of data) for an dashboard without doing any modifications to the database itself. Previous SCADA developer built up a park having all OPC tags in a single level (directory) which is bad (). I thought maybe i could build a system which i basically references to the single directory solution and also could get the data history behind it to easily get dashboards and applications working.

I am open to discussions and talk around this topic. Every oppinion helps!

Thanks!

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [June 2, 2023, 11:10am UTC](https://forum.inductiveautomation.com/t/reference-tag-to-also-get-data-historian-data/74473/2 "2023-06-02T11:10:34Z")

</div>

Why not remap your tags and then use a SQL update query to change the tag historical data to the new tag reference in the DB?  
Just try and do it with a backup first
