Report Books
Report Books compile multiple Cube Views, dashboard charts, and dashboard reports into a single distributable package. They automate report generation by looping over dimension members, applying conditional logic, and changing parameters between pages. This guide covers book design, item types, loops, conditional statements, and distribution.
What Report Books Are
A Report Book is a compiled output that combines multiple report items into a single file. Instead of generating individual Cube View reports one at a time, a Report Book produces a complete package â one PDF with all entity reports, one Excel workbook with tabs per scenario, or one ZIP with individual files.
Book Formats
| Format | Extension | Description |
|---|---|---|
.xfDoc.pdfBook | All report items compiled into a single PDF document | |
| Excel | .xfDoc.xlBook | Report items as worksheets in an Excel workbook |
| ZIP | .xfDoc.zipBook | Individual report files packaged in a ZIP archive |
Book Designer
The Book Designer is the visual editor for configuring Report Books. It provides a toolbar and a tree-view of book items.
Book Properties
| Property | Description |
|---|---|
| DetermineParametersFromContent | True â the engine scans all report items to determine required parameters; False â use RequiredInputParameters instead |
| RequiredInputParameters | Explicit list of required POV parameters. Set this and DetermineParametersFromContent=False for large books to improve performance |
Book Items
The Book Designer supports several item types that control what the book contains and how it is generated.
Reports
Reports are the core items â each one renders a Cube View, dashboard chart, or dashboard report.
| Report Type | Description |
|---|---|
| CubeView | Renders a stored Cube View in Report view format |
| DashboardChart | Renders a chart component from a dashboard |
| DashboardReport | Renders a report component from a dashboard |
| SystemDashboardChart | Renders a system-level dashboard chart |
| SystemDashboardReport | Renders a system-level dashboard report |
Report Properties
| Property | Description |
|---|---|
| CubeViewName / ComponentName | The name of the Cube View or dashboard component to render |
| OutputName | The name of the output page or worksheet (supports substitution variables) |
| IncludeReportMargins | Include the Cube View's margin settings in the output |
| IncludeReportHeader | Include the Cube View's report header in the output |
| IncludeReportFooter | Include the Cube View's report footer in the output |
Files
File items include static files (images, cover pages, appendices) in the book output. The file is included as-is, without processing.
ExcelExportItems
ExcelExportItems add raw data exports to the book â the data is exported in a tabular format suitable for further analysis in Excel.
Loops
Loops iterate over dimension members to generate one page (or set of pages) per member. This is the primary mechanism for producing entity-by-entity, scenario-by-scenario, or time-period-by-time-period reports.
Loop Configuration
The loop iterates over the members returned by the member filter. On each iteration,
Loop1Variable is set to the current member, and all report items inside the loop render with that member in their POV.Loop Variable Syntax
Inside a loop, reference the current member using the loop variable in report item properties:
Each iteration produces a report page with the loop member substituted into the POV and the output name.
Nested Loops
Loops can be nested to create a matrix of outputs:
This generates one PL Summary per entity-scenario combination.
Conditional Statements
Conditional statements (If/ElseIf/Else) control which report items are included based on loop variables or other conditions.
Syntax
Conditions can reference loop variables and compare them to specific member names. This allows different report formats for different entities, scenarios, or time periods.
Use Cases
- Skip eliminations entities â exclude intercompany elimination entities from the standard report set
- Different formats â use a detailed Cube View for operating entities and a summary view for holding companies
- Conditional sections â include a supplementary analysis page only for certain scenarios
Change Parameters
Change Parameters items modify the POV between report pages without using a loop. They set specific dimension members for subsequent report items.
This is useful for one-off parameter changes â for example, adding a year-end summary page at the end of a book that loops over monthly periods.
Viewing Report Books
Report Books can be viewed through several mechanisms:
| Method | Description |
|---|---|
| BookViewer | A dashboard component that renders the compiled book inline |
| FileViewer | A dashboard component that displays the book file from storage |
| Data Management | Generate books as part of a Data Management sequence (automated production) |
| File share | Save the compiled book to a file share for external distribution |
Storage Locations
Compiled books can be stored in:
- Dashboard files â accessible from dashboard components
- File share â accessible from external systems and email
- Desktop â downloaded to the user's local machine
PDF Embedded Fonts
PDF books embed fonts to ensure consistent rendering across systems. The PDFEmbeddedFontsToRemove setting controls which fonts are excluded from embedding to reduce file size.
Distributing Report Books
OneStream Parcel Service
The OneStream Parcel Service solution automates book distribution â generating books on a schedule and delivering them via email or file share.
Email Integration
Books can be emailed directly from OneStream using a Data Management sequence that:
- Generates the Report Book
- Retrieves the compiled file
- Sends it as an email attachment via the configured SMTP server
Automated Generation
For recurring reports (monthly close books, quarterly board packages), configure a Data Management sequence to:
- Set the POV parameters
- Generate the Report Book
- Store or distribute the output
This eliminates manual report generation and ensures consistency.
Related Content
- CubeView Extender Business Rules â Previous guide: advanced formatting with Business Rules for Report view output
- Cube View Fundamentals â Cube View basics, object hierarchy, and rendering locations
- CubeView and BI Viewer Components â Embedding Cube Views and BI Viewers in dashboards (BookViewer and FileViewer are dashboard components)
- Workflow Substitution Variables â Substitution variables used in Report Book headers and loop variables