Migration Workbench | Workspace: Sample data
RE
Report inventory › Monthly Crime Trend
Tb

Monthly Crime Trend

Retire
Tableau Server and Cloud worksheet  ·  /Agency E/Monthly Crime Trend - Agency E (2026 YTD)/Monthly Crime Trend
Source query
SELECT substr(i.occurred_date,1,7) AS month,
       COUNT(*) AS incidents
FROM incident i
WHERE i.agency_id = 5
  AND i.occurred_date BETWEEN '2026-01-01' AND '2026-09-30'
GROUP BY substr(i.occurred_date,1,7)