Paginated report structure
Choose the right report type
A paginated report is a document-oriented report designed to display repeated rows, grouped totals and printable pages. Power BI Report Builder authors report definitions (.rdl). Unlike a normal interactive Power BI report with visual exploration and slicers, a paginated invoice is intended to show all eligible lines with predictable layout. Use a standard interactive report for exploration, a paginated report for statements and invoices; both can use the same governed semantic model.
Define the dataset and parameter contract
A data source defines the connection; a dataset defines a query and its returned fields. A report parameter is user input, while a dataset query parameter is passed to the source query. Link them explicitly in Dataset Properties. A tablix is a table, matrix or list data region that binds to a dataset; row groups organize repeated data. Use the synthetic invoice fixture in labs/paginated-reports/. In SQL Server create a disposable table InvoiceLines with InvoiceID, LineNo, InvoiceDate (date), Region, Description, Quantity and UnitCents (integers). Use read-only credentials for querying. Alternatively paste fixture rows into an embedded dataset for layout-only practice; this is not a security test. For a semantic model use its supported connector and DAX query designer, with model permissions and RLS tested separately.
Example 1 — retrieve an invoice with a bound parameter
In a disposable SQL Server source, create a Text parameter InvoiceID, bind dataset parameter @InvoiceID to =Parameters!InvoiceID.Value, and name the dataset InvoiceRows. SQL Server query (native NOT RUN):
SELECT InvoiceID, LineNo, InvoiceDate, Region, Description, Quantity, UnitCents, Quantity * UnitCents AS LineCentsFROM dbo.InvoiceLinesWHERE InvoiceID = @InvoiceIDORDER BY InvoiceID, LineNo;For I100 the dataset returns nine lines totaling 18000 cents ($180). The report parameter selects an invoice; the query alone does NOT authorize access. A real source must restrict rows using a trusted effective identity or approved server-side authorization. Never concatenate untrusted input into query text. The offline lab applies a separate allowlist before executing the bound query.
Example 2 — month-end detail dataset
Create StartDate and EndDate DateTime report parameters (date-only business contract), mapped to query parameters. For February 2026 set 2026-02-01 and 2026-03-01. Use WHERE InvoiceDate >= @StartDate AND InvoiceDate < @EndDate in place of the invoice predicate; keep stable order by InvoiceID, LineNo. Expected authorized all-region February dataset: 11 detail rows, I100 $180 and I101 $75, grand total $255. I102 is dated March 1 and excluded. Group the tablix by InvoiceID and sort detail rows by LineNo. A multi-value parameter requires provider-specific query support; do not treat a comma-separated string as a bound list.
Security, licenses and empty states
Visible or hidden parameters, allowed-values lists and report filters are not authorization boundaries. For semantic model sources, verify viewer identity and RLS with a real consumer; for relational sources check whether SSO or a configured shared credential executes the query, and enforce entitlement accordingly. An unknown invoice or an unauthorized invoice should disclose no protected details. Use a neutral no-data message. Report Builder can be downloaded without a license; service publishing and consumption depend on permissions, license and capacity. The current FAQ describes free consumption on qualifying F64+ or P1+ capacity; verify tenant conditions rather than assuming entitlement. Never publish or distribute the teaching fixture without approval.
Practice — design a parameter map
Specify the dataset and parameter mappings for a February North-only report. Identify where trusted region authorization is enforced, how empty data is handled, and why changing a report parameter cannot expand rights. Hint 1: separate selection from entitlement. Hint 2: intersect the date interval with permitted rows before grouping. Next: pagination and totals.
Documentation search extracts checked 2026-11-29; installed version and native execution NOT RUN.
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-report-builder-power-bi
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/report-builder-power-bi
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-data-sources
- https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-parameters-report-builder-and-report-designer
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-rls
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-faq
- https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-enter-data