Query editor
selectrd.block_month,rd.is_creator_token,rd.volume_usd,rd.platform_fees_paid,rd.creator_fees_paid,rd.platform_fees_paid * 100 / rd.volume_usd as platform_fee_rate,rd.creator_fees_paid * 100 / rd.volume_usd as creator_fee_ratefrom (selectf.block_month,casewhen ct.is_creator_token is null then 'PRE-C'when ct.is_creator_token then 'CREATOR'else 'NON-CREATOR'end as is_creator_token,sum(f.amount_usd) as volume_usd,sum(f.platform_fee_amount_usd) as platform_fees_paid,sum(f.royalty_fee_amount_usd) as creator_fees_paidfrom nft.fees fleft join limitbreak.creator_tokens ct on f.nft_contract_address = ct.address and f.blockchain = ct.blockchainwhere f.blockchain={{Chain}} and f.blockchain in (select distinct blockchain from limitbreak.creator_tokens) and f.block_month >= DATE '2022-01-01' and date_diff('day', f.block_month, NOW()) > 7group by f.block_month, ct.is_creator_token) rdorder by rd.block_month, rd.is_creator_token