Remove incorrect value from history

Hello. Is is somehow possible to remove this 0 V value from History? I tried to remove it both from statistics and statistics_short_term database, but no changes in graph happened

I’ve found topics like this but no help there

That data point is in the states table, which contains every state change going as far back as your recorder database purge settings are set to (10 days by default). If you’ve already fixed the data in the statistics table, you could just wait 10 days for it to disappear. Otherwise you’ll have to use some SQL commands to get rid if it. Be cautious of looking at older posts for help; the database has been restructured a few times in the past, so SQL commands in older threads won’t work any more.

Thanks. I have purge interval set to 365 days. Will wait forever :rofl: Thanks exactly what i’m looking for - those magic SQL commands to do something with this graph except removing data from statistics tables (done already like i said earlier)