When PromQL query passes the interval '1vw' as a variable it fails with 'Error' when the converted WQL query succeeds.
Your query contained a syntax error (Query syntax error: rule stack: [program, expr, atom, application, exprList, expr, atom, application, exprList, expr, subQuery] line 1:61,1:63 (text='vw'): - no viable alternative at input '[1vw' )
Currently it is possible only to pass variables such as minute, hour and day (Example, 1m, 1h, 1d) but not the View Window length, '1vw'.
A feature request has been submitted to pass the View Window length (1vw) as a variable.
Currently there is no workaround under PromQL, and the query must use defined values such as 1h, 1w, 1m, as a variable value.