.. include:: /Includes.rst.txt .. _feature-1791402909: ====================== Feature: Pivot queries ====================== Description =========== `runPivotQuery` aggregates a dataset on the server: up to three row and two column dimensions, dates grouped by day, ISO week, month, quarter or year, and one to four measures counted, summed, averaged or as minimum and maximum, with totals per row and column and a grand total. Only the reader's scope counts, and every matching row counts. Unknown fields are refused before any data is read. A dataset with a period needs a date filter of at most 366 days. Groups by a personal field with fewer than five people are suppressed. Impact ====== None. .. index:: API, package:adsum-reporting