Validation › Location Type Analysis
Compare results
MatchChecks
| Check | Source (Tableau) | Target (Power BI) | Result |
|---|---|---|---|
| Row count | 7 | 7 | Match |
| Total of incidents | 1,238 | 1,238 | Match |
| Record hash | 9b73983b1210 | 9b73983b1210 | Match |
Access and audit
- Data location
- Agency network SC-28
- Run by
- Validation service, read only AC-6
- This view
- Logged AU-2
- Evidence
- Retained with the release AU-11
Source query
SELECT i.location_type, COUNT(*) AS incidents FROM incident i WHERE i.agency_id = 6 AND i.occurred_date BETWEEN '2026-01-01' AND '2026-09-30' GROUP BY i.location_type
Power BI dataset query
SELECT i.location_type, COUNT(*) AS incidents FROM incident i WHERE i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo GROUP BY i.location_type