/powerbi-paginated-reports:Power-BI-Paginated-Reportsfrom powerbi-paginated-reports
Creates and troubleshoots Power BI paginated reports (RDL) in Fabric, covering Report Builder authoring, VB.NET expressions, data sources, parameters, subreports, rendering/export, REST API automation, subscriptions, and SSRS migration.
Ships in powerbi-paginated-reports. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Paginated reports are pixel-perfect, print-ready documents optimized for printing and PDF generation. They run in the Power BI service (Fabric) and use the Report Definition Language (RDL) XML format. Build them with Power BI Report Builder (free desktop tool) and deploy to Fabric workspaces.
For the complete XML schema reference, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rdl-structure.md.
RDL is an XML schema defining report layout, data retrieval, and rendering behavior.
Every RDL file contains these top-level elements:
All three tabular regions are actually Tablix elements in RDL — the designer presents them differently based on row/column group configuration.
Group on any expression. Nest groups for drill-down hierarchies. Add:
For the complete expression catalog, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/expressions-code.md. For production patterns, see ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/expression-patterns.md.
Expressions in paginated reports use VB.NET syntax prefixed with =.
=Fields!FieldName.Value references dataset fields=Parameters!ParamName.Value references report parameters=Globals!ReportName, =Globals!PageNumber, =Globals!TotalPages, =Globals!ExecutionTime=User!UserID, =User!Language=ReportItems!TextboxName.Value references other textbox values=Sum(Fields!Amount.Value), =Avg(), =Count(), =Max(), =Min(), =CountDistinct(), =First(), =Last()=Sum(Fields!Amount.Value, "GroupName") aggregates within a specific group scope=RunningValue(Fields!Amount.Value, Sum, Nothing) for running totals=RowNumber(Nothing) for sequential row numbering=IIF(Fields!Status.Value = "Active", "Green", "Red")=Switch(Fields!Rating.Value >= 90, "A", Fields!Rating.Value >= 80, "B", True, "C")=Format(Fields!Date.Value, "yyyy-MM-dd"), =Format(Fields!Amount.Value, "C2")=Left(), =Right(), =Mid(), =Len(), =Trim(), =Replace(), =InStr()=CInt(), =CDec(), =CStr(), =CDate(), =Val()=Lookup(Fields!ID.Value, Fields!ID.Value, Fields!Name.Value, "OtherDataset") cross-dataset lookups=Join(LookupSet(...), ", "))Add VB.NET functions in Report Properties > Code tab:
Public Function FormatCurrency(ByVal amount As Decimal, ByVal culture As String) As String
Dim ci As New System.Globalization.CultureInfo(culture)
Return amount.ToString("C2", ci)
End Function
Call with =Code.FormatCurrency(Fields!Amount.Value, Parameters!Culture.Value).
Reference external .NET assemblies for complex logic. Register in Report Properties > References. Call static methods with =Namespace.ClassName.MethodName().
For connection strings and query patterns for all source types, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/data-sources-datasets.md.
Use @ParameterName in SQL queries linked to report parameters:
SELECT * FROM Sales WHERE Region = @Region AND OrderDate BETWEEN @StartDate AND @EndDate
Map dataset query parameters to report parameters in the dataset properties.
For format details and device info settings, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rendering-export.md.
| Format | Use Case | Notes |
|---|---|---|
| Print, archive, email | Pixel-perfect, page breaks respected | |
| Excel (XLSX) | Data extraction, pivot tables | Data regions map to worksheets |
| Word (DOCX) | Editable documents | Maintains layout for letter templates |
| CSV | Data feeds, imports | Flat data only, no formatting |
| XML | System integration | Schema-based export |
| MHTML | Web archive, email body | Single-file HTML with images |
| PowerPoint (PPTX) | Presentations | Each page becomes a slide |
| TIFF | Image archive | Multi-page image |
=Globals!PageNumber and =Globals!TotalPages only resolve in page-oriented renderers (PDF, TIFF, Print).For full endpoint reference and TypeScript examples, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rest-api.md and ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/api-automation.md.
Power BI REST API for paginated reports:
POST /groups/{workspaceId}/imports with .rdl fileGET /groups/{workspaceId}/reportsPOST /groups/{workspaceId}/reports/{reportId}/ExportTo with format and parameter valuesGET/PATCH /groups/{workspaceId}/reports/{reportId}/datasourcesGET/POST /groups/{workspaceId}/reports/{reportId}/parameters (read/update default values)POST /groups/{workspaceId}/reports/{reportId}/subscriptionsAll REST calls require Azure AD bearer token with scope https://analysis.windows.net/powerbi/api/.default. Use MSAL (Microsoft Authentication Library) for token acquisition with either:
SucceededFor the full migration guide and compatibility matrix, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/ssrs-migration.md. For step-by-step examples, see ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/migration-checklist.md.
Reports connecting to on-premises data sources require an on-premises data gateway. Install in standard mode (not personal). Configure data source credentials in the Power BI service gateway settings.
For the complete optimization checklist, read ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/performance-tuning.md. For error diagnosis, see ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/troubleshooting.md.
| File | Path | Content |
|---|---|---|
| RDL Structure | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rdl-structure.md | RDL XML schema reference, element hierarchy, attribute details |
| Expressions & Code | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/expressions-code.md | VB.NET expression catalog, custom code patterns, assembly references |
| Data Sources & Datasets | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/data-sources-datasets.md | Connection strings, credential types, query patterns for all Fabric sources |
| Rendering & Export | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rendering-export.md | Output format details, device info settings, export API parameters |
| REST API | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/rest-api.md | Paginated report REST endpoints, TypeScript examples, authentication |
| Performance Tuning | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/performance-tuning.md | Query optimization, rendering tips, caching configuration |
| SSRS Migration | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/ssrs-migration.md | Migration checklist, compatibility matrix, gateway setup |
| Troubleshooting | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/references/troubleshooting.md | Common errors, rendering issues, data source problems, resolution steps |
| File | Path | Content |
|---|---|---|
| RDL Templates | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/rdl-templates.md | Complete RDL examples: invoice, tabular list, matrix cross-tab, subreport |
| Expression Patterns | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/expression-patterns.md | VB.NET expression cookbook: formatting, conditionals, lookups, aggregates |
| API Automation | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/api-automation.md | TypeScript REST API examples: import, export, parameter update, subscriptions |
| Migration Checklist | ${CLAUDE_PLUGIN_ROOT}/skills/paginated-reports/examples/migration-checklist.md | Step-by-step SSRS-to-Fabric migration with before/after examples |
examples/api-automation.md (opens in a new tab)examples/expression-patterns.md (opens in a new tab)examples/migration-checklist.md (opens in a new tab)examples/rdl-templates.md (opens in a new tab)references/data-sources-datasets.md (opens in a new tab)references/expressions-code.md (opens in a new tab)references/performance-tuning.md (opens in a new tab)references/rdl-structure.md (opens in a new tab)references/rendering-export.md (opens in a new tab)references/rest-api.md (opens in a new tab)references/ssrs-migration.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
paginated-reports, rdl, report-builder, ssrs-migration, fabric, report-authoring
npx claudepluginhub thelobbi/claude-m --plugin powerbi-paginated-reportsOther plugins' skills for the same job