Query editor
SELECTmonth AS activity_month,cohort AS cohort_month,active_cards,volume_usd,payments,round(100.0 * active_cards / max(active_cards) OVER (PARTITION BY cohort), 1) AS retention_pctFROM query_7841055ORDER BY activity_month, cohort_month