Query editor
WITH events AS (SELECTDATE_TRUNC('month', evt_block_time) AS month,'Created' AS statusFROM aave_v3_governance_ethereum.governance_evt_proposalcreatedUNION ALLSELECTDATE_TRUNC('month', evt_block_time),'Executed'FROM aave_v3_governance_ethereum.governance_evt_proposalexecutedUNION ALLSELECTDATE_TRUNC('month', evt_block_time),'Failed'FROM aave_v3_governance_ethereum.governance_evt_proposalfailedUNION ALLSELECTDATE_TRUNC('month', evt_block_time),'Canceled'FROM aave_v3_governance_ethereum.governance_evt_proposalcanceled)SELECTmonth,status,COUNT(*) AS proposalsFROM eventsGROUP BY 1,2ORDER BY 1,2;