Client Data Studio
An analytics workspace where analysts can explore datasets, reuse table layouts, and choose exactly which rows an export includes.
The Problem
Analysts often change how a table looks without wanting to change the query behind it. Since the visible page may contain only part of the result, exports also need a clear row scope.
My Contribution
For K2POV, I am the sole technical builder across reporting and application development.
How It Works
- 01The workspace sends dataset, period, filters, grouping, and sorting to the shared Data Engine. Column order, visibility, and density stay in presentation settings; named views can also save query settings.
- 02During a compatible refresh, prior rows remain visible with a clear pending state. The new result replaces them when it is ready.
- 03Output columns and row scope are separate choices. Current page and Selected rows use resolved table rows; All matching rows runs the active query beyond the loaded window.
Engineering Decisions
Restore presentation without restoring the query
Global, dataset and query defaults store density and presentation choices. Applying them uses the layout-only path, which leaves the current query's filters, grouping and sorting in place. A named view intentionally captures those query settings too.
A named view can trigger a different query when its filters, grouping or sorting differ. Page size and page offset also affect the result window, even though column order and density do not.
Keep compatible rows visible during refresh
A compatible refresh can keep prior rows and column context visible while the new filter loads.
Those rows still belong to the prior query, so the interface must distinguish a refreshing preview from the settled result. Replacing the dataset or receiving an incompatible result may require a blocking transition.
Gate local sorting on result coverage
A grouped result total counts groups, not source records. Sort the whole result only after a complete zero-offset window is settled and within the row limit; otherwise request the needed Worker window.
A final response may still be capped. Loaded rows, known query totals and coverage remain separate.
Make export scope explicit
All matching rows runs the active query beyond the loaded window. Current page and Selected rows export only the rows resolved by the table. The visible column set controls output fields.
The Worker may stream a compatible query or materialize another. A selected calculated metric adds its source dependencies to the read set, not the output columns.
Outcome
Analysts can reuse a table layout, see whether results are still loading, and choose an export scope without changing query behavior by accident. Calculated fields can read hidden source columns without adding them to the exported columns.