Query editor
with base as (SELECT*FROM dex.tradesWHEREblock_time > CURRENT_TIMESTAMP - INTERVAL '{{Number_of_days}}' DAY)selectdate_trunc('{{granuality_of_trend}}',block_time) as granuality,count(distinct tx_from) as transacting_walletsfrom basegroup by 1