Clickhouse Data outside time range in grafana

hello,

i have been following the other recommendations for how to solve " Data outside time range in grafana", i have tried some but it still not working. My query for clickhouse looks like this:

SELECT
$timeFilter as t,
quantile(.99)(time) as client_edge_ttms_99,
status,
result
FROM varnish_maple.[[Partner]]
WHERE $timeFilter
$conditionalTest(AND status in ($status), $status)
GROUP BY
t,
status,
result
ORDER BY t,
status ASC

and the pannel looks like this

if i remove the

status ASC

the pannel looks like this:

Any idea of how to get rid of that error message?

Thank you tons, Diana