Query editor
WITH monthly_data AS (SELECTCOUNT(DISTINCT fid) AS monthly_active_users,date_trunc('month', CAST("timestamp" AS TIMESTAMP) AT TIME ZONE 'UTC') AS monthFROM dune.neynar.dataset_farcaster_castsWHERE CAST("timestamp" AS TIMESTAMP) AT TIME ZONE 'UTC' >= current_timestamp - interval '9' monthGROUP BY date_trunc('month', CAST("timestamp" AS TIMESTAMP) AT TIME ZONE 'UTC'))SELECT *FROM monthly_dataORDER BY month DESC;