Validation › Vehicle Crime Summary - Agency A (2024)
Compare results
MatchCJIAgency A onlyAccess loggedChecks
| Check | Source (Cognos) | Target (Power BI) | Result |
|---|---|---|---|
| Row count | 2 | 2 | Match |
| Total of incidents | 555 | 555 | Match |
| Total of loss | 1,118,507.41 | 1,118,507.41 | Match |
| Record hash | 9a084d80eb5f | 9a084d80eb5f | Match |
Access and audit
- Classification
- CJI
- Row security
- By agency AC-3
- Session
- MFA, CJIS-trained user IA-2(1)
- 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.offense_code, COUNT(*) AS incidents, SUM(i.property_loss) AS loss FROM incident i WHERE i.offense_code IN ('23F','240') AND i.agency_id = 1 AND i.occurred_date BETWEEN '2024-01-01' AND '2024-12-31' GROUP BY i.offense_code
Power BI dataset query
SELECT i.offense_code, COUNT(*) AS incidents, SUM(i.property_loss) AS loss FROM incident i WHERE i.offense_code IN ('23F','240') AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo GROUP BY i.offense_code