---
title: "Feature: Pivot queries"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791402909@main"
source: "Changelog/1.0.0/Feature-1791402909-PivotQueries.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Pivot queries {#feature-1791402909}

## Description {#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 {#impact}

None.
