Change historian data

I wish to know if it is possible to change tag historian data,
for instance, I have a power table which uses tag historian query,
and I want to modify the values,
I tried to use the system.tag.storeTagHistory, but with no success.

could you help please?

are you trying to change a single value or add additional entries? you should be able to change a value in the database with no issue using sql.

but what if I query by interval of time, so thats there is no record in the sql with exactly the timestamp,
how can I know what is the right record