# Time query of the maximum value of a Calculation Query Tag in the report

**URL:** <https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517>\
**Category:** Ignition\
**Created:** [March 23, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517 "2022-03-23T11:33:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jefferson\_Nascimento](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jefferson\_Nascimento](https://forum.inductiveautomation.com/u/Jefferson_Nascimento)\
**Post date:** [March 23, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517/1 "2022-03-23T11:33:02Z")

</div>

Hi,

In the report, I’m using the Tag Calculaion Query query type, querying the Maximo of a tag. The value of this tag is ok, but in addition to the value, I also need to consult the recording time of that value. How to check the time of the value of this tag?

Thanks

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 23, 2022, 11:37am UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517/2 "2022-03-23T11:37:49Z")

</div>

Your requirements are not clear.

1. Can you edit your post (pencil icon) to show some example data as currently stored and how you would like to present it.
2. Can you clarify whether or not you are trying to use a tag history binding to retrieve the data.
3. The question title could probably be improved too.

---

<div class="post-metadata">

**Author:** ![Jefferson\_Nascimento](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jefferson\_Nascimento](https://forum.inductiveautomation.com/u/Jefferson_Nascimento)\
**Post date:** [March 23, 2022, 12:54pm UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517/3 "2022-03-23T12:54:32Z")

</div>

I’m sorry,

I corrected the question.

Thanks

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 23, 2022, 1:09pm UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517/4 "2022-03-23T13:09:09Z")

</div>

Never used the report before, but it seems to me like the timestamp is automatically added to the report:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/9/99c33d1f2d70523b08366e450bc30141553bebbd.png)

Actually This might not be the timestamp of the data, but I have no idea what it is.

---

<div class="post-metadata">

**Author:** ![Jefferson\_Nascimento](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jefferson\_Nascimento](https://forum.inductiveautomation.com/u/Jefferson_Nascimento)\
**Post date:** [March 23, 2022, 1:26pm UTC](https://forum.inductiveautomation.com/t/time-query-of-the-maximum-value-of-a-calculation-query-tag-in-the-report/57517/5 "2022-03-23T13:26:27Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f79a9da8936389b2f1ba193dccbb932cdb2f9984.png)

I generated this data in the designer to illustrate what I need in the report. I need this times of the “t\_stamp” (not the StartDate of the report).
