Skip to content
NewDatafor 10.02 is out: subscriptions and metric alerts, in Slack and Teams
Datafor

Paginated Reports

Understanding Paginated Reports

What a paginated report is, how it differs from a dashboard report, how it is built from datasets, parameters and page bands, and what it can output.

A paginated report is a report laid out on paper pages: a fixed paper size, a header and footer on every page, and one table or crosstab that runs across as many pages as its rows need. It is made to be printed, exported to PDF or Excel, and sent on a schedule, where a dashboard is made to be looked at on a screen and filtered.

Paginated reports are a separate content type, .pagereport, with their own designer and viewer. They sit next to dashboard reports (.datafor) in the same folders and lists.

Dashboard report or paginated report?

Dashboard report Paginated report
Layout Free canvas, one screen, components of any size Paper pages with header, body and footer; content flows from page to page
Content Charts, tables, cards, maps, filters, tabs Text, images, page numbers and one table or crosstab per report
Data Analysis models Analysis models, or your own SQL on a connection
Filtering Filter components, cross-filtering, drill down Parameters set before the report runs
Output Screen; PDF of the page; Excel or CSV of one component Viewer pages; PDF, Excel, Word; flat Excel and CSV; print
Delivery Share links, embedding Also scheduled email and repository folders, one copy per recipient or parameter value
Best at Interactive analysis, monitoring Documents, long listings, statements, batch delivery

A paginated report can be the target of a dashboard’s drill-through, so the two work together: the dashboard shows the trend, and a click opens the detailed statement for the clicked region or month. See Drill Through to a Paginated Report.

How a report is put together

A paginated report has three parts: data from a model dataset or an SQL dataset filtered by parameters, a page with a header band, a body holding text and one table or crosstab, and a footer band, and outputs such as the viewer, formatted exports, data exports, subscriptions and drill-through from dashboards

Datasets return rows. A model dataset takes fields from an analysis model, in the same way a dashboard chart does, and the query is generated from the fields you place on the report; row-level security applies as usual. An SQL dataset runs SQL you write on a database connection, with #{parameter} placeholders bound as query parameters; writing SQL needs raw SQL permission on the connection. Model datasets suit summaries; SQL datasets suit long detail lists.

Parameters are the values a reader sets before the report runs: a date range, a region, a customer. A parameter filters a model dataset by a level, or is bound in SQL. It can be typed in, offer a list of choices from a dataset, come from a global parameter in Parameter Management, or take the signed-in user’s value; it can default to a relative date such as first day of last month, cascade from another parameter, or be hidden and set only by a URL or a distribution.

The page has a fixed paper size, orientation and margins. The header and footer bands repeat on every page and hold text, images, page numbers and field values. The body holds text blocks and the data block: a table (columns, groups with subtotals, a grand total) or a crosstab (row and column dimensions with measures and totals). Tables and crosstabs take their look from a style template, the same templates as the dashboard pivot table.

Outputs are produced from the same definition. Readers page through the report in the viewer, export it, or print it. Exports come in two groups: formatted (PDF, Excel, Word) keep the page layout, data only (flat Excel, CSV) give one row per record for further work in a spreadsheet. A subscription generates the report on a schedule and sends it to people, roles and channels.

Where paginated reports appear

  • Create: New › Paginated report in a folder of the console (Personal or Public). The designer opens in a new tab with a wizard.
  • Open: click the report in a folder, Recent, Favorites or search results. The viewer opens inside the console; Open in new tab gives it the full window.
  • Edit: the report’s row menu › Edit, or Edit in the viewer toolbar.
  • Manage: rename, move, copy, share, set permissions and delete like any other file. Deleted reports go to Trash and can be restored. Paginated reports appear in lineage with their models and the connections of their SQL datasets.
  • Downloads: files generated in the background wait under My account › Report downloads.

Permissions follow the folder: you need write permission on a folder to save a report there, and read permission on a report to view or export it. Readers also need read permission on the model a model dataset uses, and view permission on the connection of an SQL dataset; otherwise the report fails to run for them. Writing or changing the SQL of a dataset needs raw SQL permission on the connection (see SQL dataset). Creating distributions needs the platform’s manage schedules permission.

Limits in this release

  • One table or crosstab per report. Several text and image blocks are fine. Reports that need two data blocks are planned; until then, split them into two reports. A balance sheet in account form (assets left, liabilities right) does not need two blocks: it is one parent-child table set side by side.
  • No charts, barcodes or sub-reports yet.
  • Parent-child hierarchies work in tables, not in crosstabs, and cannot be combined with groups.
  • A crosstab does not split across pages horizontally; wide crosstabs are cut at the page edge unless you widen the paper or let them compress (see Viewing, Pagination and Export).
  • Word export is RTF.
  • The preview shows at most 5,000 rows; exports stop at 200,000 rows for SQL datasets and 100,000 rows for model datasets. Administrators can change these limits in the plugin’s settings.xml.
  • Paginated reports are an optional plugin (datafor-pagereport). If it is not installed, the New › Paginated report entry and .pagereport files are not offered. Model datasets also need the dashboard plugin to be installed.