April 21, 2026
27 days ago
Improved the accuracy of Report Builder queries that combine aggregations (sum, count, avg, min, max) on the primary resource with with joins.
Fixed
Reports API / Query API
- Reports that aggregated on the primary resource while also joining another resource — for example, "total spend per requestor per application" (grouping payments by
emailwithwith: { applications }) — could previously return too many rows with understated per-row totals. The fix restores the intended grouping. If you have saved reports in this shape, you may now see fewer rows with higher per-row aggregates. These are the accurate values.
Changed
Reports API / Query API
-
Queries that use an
opfield on the primary resource alongsidewithnow require at least one non-opfield on the primary to group by. Previously these queries failed with an unclear database error; they now return a400 Bad Requestwith guidance:When using "op" fields on the primary resource alongside "with", at least one non-"op" field must be provided to group by. Add a non-aggregate field to "fields", or remove "with".