.. include:: /Includes.rst.txt .. _feature-1791382849: ============================================= Feature: Open report figures to their records ============================================= Description =========== A report can lead from a key figure or a chart category to the people it counts. ``GET /api/v1/report-definitions/{reportId}/drilldown`` takes the report's parameters, a ``measure`` and optionally a ``dimension`` with its ``value``, and returns a page of records with their own columns, each person with the ID of their record. The records are read in the same scope as the report, so a manager sees only their own people and the total counts only them. ``headcount`` opens its start and end headcount, joiners and leavers, by month or department, with name, department, position, entry and exit date. Aggregated reports such as ``sickness-rate`` offer no drill-down (404); the catalogue says which reports do in ``offers.drilldown``. Impact ====== None. .. index:: Backend, API, package:adsum-reporting