Query editor
withdata as (SELECTspace,COUNT(*) AS votes,count(distinct voter) voters,count(distinct proposal) proposalsFROMsnapshot.voteswheredate_trunc('day', from_unixtime(CAST(created AS bigint))) > NOW() - INTERVAL '{{Trailing Num Days}}' dayGROUP BYspaceorder by2 desc)selectspace,CONCAT(CAST('<a href=https://snapshot.org/#/' AS VARCHAR),space,CAST(' target="_blank" </a>' AS VARCHAR),space) AS space_link,votes,voters,proposals,COALESCE(TRY(voters / proposals), 0) as voters_per_proposals,COALESCE(TRY(votes / proposals), 0) as votes_per_proposalsfromdatawherevotes >= CAST('{{Minimum Votes}}' AS INTEGER)ANDproposals >= CAST('{{Minimum Proposals}}' AS INTEGER)