Migration Workbench | Workspace: Sample data
RE
Validation › Vehicle Crime Summary - Agency D (2024)

Compare results

Match
Object: Vehicle Crime Summary - Agency D (2024)  ·  Source: SAP BusinessObjects Web Intelligence  ·  Target: Power BI report  ·  Parameters: Agency D, 1/1/2024 to 12/31/2024
Checks
CheckSource (Web Intelligence)Target (Power BI)Result
Row count22Match
Total of incidents373373Match
Total of loss730,401.11730,401.11Match
Record hashee41f0fd7b0fee41f0fd7b0fMatch
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.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 = 4
  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