Migration Workbench | Workspace: Sample data
RE
Validation › Citations by Violation

Compare results

MatchWCAG 2.1 AA
Object: Citations by Violation  ·  Source: Tableau Server and Cloud  ·  Target: Power BI paginated report  ·  Parameters: Agency L, 1/1/2025 to 12/31/2025
Checks
CheckSource (Tableau)Target (Power BI)Result
Row count6060Match
Total of citations758758Match
Total of fines143,116.0143,116.0Match
Record hash8f36a11d810d8f36a11d810dMatch
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
Accessibility, WCAG 2.1 AA generated paginated report
Success criterionRequirementGenerated reportResult
Text contrast (1.4.3)At least 4.5:16.2:1Pass
Report title (2.4.2)Title and descriptionPresentPass
Parameter labels (3.3.2)3 parametersAll labelledPass
Table headers (1.3.1)Header row repeatsYesPass
Reading order (1.3.2)Top to bottomIn orderPass
Alt text (1.1.1)Images and charts describedNo images or chartsPass
Source query
SELECT c.violation, substr(c.issued_date,1,7) AS month,
       COUNT(*) AS citations,
       SUM(c.fine) AS fines
FROM citation c
WHERE c.agency_id = 12
  AND c.issued_date BETWEEN '2025-01-01' AND '2025-12-31'
GROUP BY c.violation, substr(c.issued_date,1,7)
Power BI dataset query
SELECT c.violation,
       CONVERT(char(7),
       c.issued_date, 126) AS month,
       COUNT(*) AS citations,
       SUM(c.fine) AS fines
FROM citation c
WHERE c.agency_id = @Agency
  AND c.issued_date BETWEEN @DateFrom AND @DateTo
GROUP BY c.violation, CONVERT(char(7), c.issued_date, 126)