Drag-and-Drop Pivot Table Designer
The pivot UI is a drag-and-drop pivot table designer over the server
pivot surface — the table’s <table>Pivot root
field. The server does all cross-tabbing; the UI never groups fetched rows
itself. A pivot configuration saves as a
saved object.
Field wells
Section titled “Field wells”- Rows — one or more row-key columns (a functional multi-field well; all selected keys go in one request).
- Columns — a single pivot column.
- Values — a column plus an aggregate op (
count,sum,avg,min,max).
The field list is the schema-derived columns for the chosen source. Moving a field between wells triggers exactly one re-query after a debounce interval (a debounce regression is caught by test).
Sources, results, and errors
Section titled “Sources, results, and errors”- The same configuration works against a table source and a saved-query source, producing identical results for equivalent data.
- The result grid renders dynamic pivot-value columns against a fixed row-key
column group;
NULLpivot values appear as an explicitly labeled category. - When a later pivot request returns the server cardinality-guard error, the UI surfaces a message naming the offending column and suggesting a filter — the previous grid stays visible rather than blanking.
Export uses the shared export utility.
Related
Section titled “Related”- Pivot / cross-tab queries — the GraphQL surface this UI drives.
- Chart panel — one dimension, plotted instead of tabulated.
- Dashboards — pin a saved pivot source to a tile.
- Saved queries — the other pivot source kind.
- Data workbench overview