I'm trying to query using the function PrevVal and it isn't work.
I'm trying to use this syntax:
SELECT PrevVal(TAGNUM('LPBQ1.Producao_Toneladas_Diario'), DATE('-1d'))
No rows are return from this query, using any tag.
Do you know if is something wrong with this syntax?