# \[BUG-14270\]noInterpolation parameter for systemtagqueryTagCalculation is not working correctly

**URL:** <https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918>\
**Category:** Ignition Early Access\
**Created:** [June 18, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918 "2019-06-18T16:22:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [June 18, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/1 "2019-06-18T16:22:30Z")

</div>

Good afternoon.  
I have installed Ignition 8.0.2 in a Virtual Machine. I turn off the virtual machine at night and turn it on in the morning, around 10 am. Therefore, from 6 am to 7 am (for example) there are no historical records.

Then, in a window I put two tables.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c5778e9aa9498d7e2bffa2856490e3c8e7097a0a.png)

- The **first tabe** is filled with this expression:

_runscript(“ **system.tag.queryTagCalculations** (paths=[’[default]FabricaCP5/AguaFria/EquipoFrio2/Comp2\_MarchaParo’], calculations=[‘DurationOn’], startDate=‘2019-06-18 06:00:00’, endDate=‘2019-06-18 07:00:00’, ignoreBadQuality=True, **noInterpolation=True** )”)_

- The **second table** is filled with this expression:

_runScript(“ **system.tag.queryTagHistory** (paths=[’[default]FabricaCP5/AguaFria/EquipoFrio2/Comp2\_MarchaParo’], aggregationMode=‘DurationOn’, startDate=‘2019-06-18 06:00:00’, endDate=‘2019-06-18 07:00:00’, ignoreBadQuality=True, **noInterpolation=True** , returnSize=1)”)_

As you can see, in the two functions (“system.tag.queryTagCalculations ()” and “system.tag.queryTagHistory ()”) I use the “noInterpolation = True” parameter so that the records that do not exist are not interpolated.  
As there is no historical records between 6 a.m. and 7 a.m., because the VM is off, the two tables should be empty.  
The “system.tag.queryTagHistory ()” function works correctly (second table), but “system.tag.queryTagCalculations ()” **ignores** the “noInterpolation = True” parameter ((first table)).

Best regards.

---

<div class="post-metadata">

**Author:** ![anjoroge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/anjoroge/32/6698_2.png) [@anjoroge](https://forum.inductiveautomation.com/u/anjoroge)\
**Post date:** [June 21, 2019, 12:01am UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/2 "2019-06-21T00:01:24Z")

</div>

Hi informatica,

I was able to reproduce the issue locally and will write an internal ticket for the issue. Thank you  
for bring it to our attention

Anthony

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [June 21, 2019, 8:59am UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/3 "2019-06-21T08:59:15Z")

</div>

Ok.  
Thank you

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [September 4, 2019, 2:49pm UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/4 "2019-09-04T14:49:21Z")

</div>

Good Afternoon.

Is there any news about this?

---

<div class="post-metadata">

**Author:** ![anjoroge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/anjoroge/32/6698_2.png) [@anjoroge](https://forum.inductiveautomation.com/u/anjoroge)\
**Post date:** [September 4, 2019, 5:15pm UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/5 "2019-09-04T17:15:06Z")

</div>

Hi informatica,

This issue is currently in our backlog and will keep you updated when we have a fix for it…

Thanks,  
Anthony

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [November 13, 2020, 6:08pm UTC](https://forum.inductiveautomation.com/t/bug-14270-nointerpolation-parameter-for-systemtagquerytagcalculation-is-not-working-correctly/25918/6 "2020-11-13T18:08:31Z")

</div>

Good Afternoon.

Is there any news about this?
