Hi, I have a dashboard with PostgreSQL datasource.
How I can prevent the grafana run query with filter product_group when the user Select All on Multi-Value product_group variable.

Below is the example of my query.
SELECT
$__timeGroup(paid_at, [[granularity]]) - extract(epoch from '7h'::interval) as time,
case
when '[[metric]]'='gmv' then sum(gmv)
when '[[metric]]'='trx' then count(distinct transaction_id)
end AS current_[[metric]]
FROM
transactions
WHERE
paid_at >= $__timeFrom()::timestamp + interval '7' hour
and paid_at < $__timeTo()::timestamp + interval '7' hour
and product_group in ([[product_group]])
group by 1