All Docs
FeaturesDepositClearUpdated March 15, 2026

Analytics Export: PDF & CSV Downloads

Analytics Export: PDF & CSV Downloads

The Analytics dashboard provides a Download report button that exports your KPI summary and trend data as either a PDF or a CSV file.

How it works

PDF export

PDF reports are generated server-side via a dedicated /api/reports/analytics endpoint. The endpoint uses the same @react-pdf/renderer pipeline that powers check-in, check-out, and deductions reports, ensuring consistent formatting across all document types. The generated file is returned as a binary download — no browser print dialog is involved.

CSV export

The CSV export uses the platform's shared downloadCsv utility. It produces a spreadsheet containing:

  • KPI summary values
  • Trend data series

The file downloads directly to the user's device and can be opened in any spreadsheet application.

Using the download button

  1. Open the Analytics dashboard.
  2. Click Download report.
  3. Select your preferred format (PDF or CSV) if prompted.
  4. The button enters a loading state while the report is prepared.
  5. The file downloads automatically once ready.

Compatibility

EnvironmentPDFCSV
Desktop browser (Chrome, Firefox, Safari)
Mobile browser
PWA mode

Note: The previous window.print() approach has been removed entirely. If you relied on browser print-to-PDF, use the built-in PDF download instead.

Related reports

The same PDF generation pipeline is used across:

  • Check-in reports
  • Check-out reports
  • Deductions reports
  • Analytics reports (this page)