Use Planning Analytics Workspace books as source reports#
Preview feature. Planning Analytics Workspace (PAW) books as source reports are in preview. They work, but the screens and the way a book is drawn may change as we learn from how you use them. Read What a run draws and what it leaves out before you promise a book to anyone.
A distribution job can take a PAW book as its source report. Each run reads the book from PAW, draws it into a workbook, and delivers the result as a PDF, an Excel workbook or any other output a job produces. With a parameter, one book can be sent once per region, cost center or any other member, with each recipient's file narrowed to their own.
When to use it. The finance team keeps a monthly dashboard in PAW. A job reads the book, narrows it to each business unit in turn, and emails each manager a PDF with real text and numbers instead of PAW's own export.
What you get. By default, the same layout and the same numbers as the book, drawn with Reportworq styling. It is not a pixel copy of PAW. If you want PAW's own drawing instead, a job can have PAW draw the charts, or every visual, as pictures: see Let PAW draw the visuals.
Before you begin#
- You are an administrator for the setup steps (parts 1 and 2). You are an author for choosing a book and mapping parameters (parts 3 and 4).
- You have a Reportworq IBM Planning Analytics connection to the TM1 server your book reads from. See Connect IBM Planning Analytics.
- You know the web address of your PAW, for example
https://paw.mycompany.com. - You have a PAW user who can open the book. This can be the same user the connection already uses to read TM1, or a different one.
- PAW is reachable from the Reportworq server.
- Your Reportworq license includes PAW books (the paw_books entitlement). Without it, the provider cannot be added, a provider already added lists no books (its settings say why), the connection editor has no PAW section and Test Connection does not sign in to PAW, and a job that uses a PAW book stops with a message saying the license does not include it. Ask your Reportworq contact to add it. Nothing you set up is lost while it is off.
Where your PAW runs decides how Reportworq signs in:
- PAW Local (the on-premises PAW) signs in with a user name and password.
- IBM Planning Analytics as a Service (a connection whose authentication type is IBM SaaS (MCSP)) signs in with a PA API key, the same kind the connection already uses for TM1. Make it in Planning Analytics under Manage API keys, signed in as a user who can open the book. Its PAW address is the data center address, for example
https://us-east-1.planninganalytics.saas.ibm.com. - Planning Analytics on IBM Cloud (authentication type IBM Cloud) cannot use PAW books: IBM offers no way for a server to sign in to PAW there. The connection says so.
1. Add the PAW address to the connection#
- Go to Settings, Integrations, and open your IBM Planning Analytics connection (under DATASOURCES).
- Expand the Planning Analytics Workspace section. It starts collapsed until an address is saved.
- In PAW address, enter the address of your PAW, for example
https://paw.mycompany.com. Leave it empty if the connection should not offer PAW books. If you leave outhttps://, Reportworq adds it. - Under Sign in with, choose how Reportworq signs in to PAW:
- Distribution credentials (the default) uses the user name and password already on this connection.
- Separate PAW credentials shows PAW username and PAW password. Use this when the user who can open PAW books is not the user that reads TM1. The password is stored encrypted and cannot be unmasked.
- Select Test Connection. With an address set, the test also signs in to PAW. If TM1 connects but PAW does not, the message reads "Connected to Planning Analytics, but could not sign in to Planning Analytics Workspace" followed by the reason.
- Save the connection.
Repeat for each Planning Analytics connection whose PAW books you want to use. Each connection with an address becomes one root folder in the next step.
2. Add the report provider#
- In Settings, Integrations, select Add integration.
- In the Report Providers family, choose IBM Planning Analytics Workspace.
- Save and enable it. The editor notes that "Books come from every Planning Analytics connection that has a Planning Analytics Workspace address." Its one setting, Browser for PAW pictures, matters only if a job has PAW draw its visuals (see Let PAW draw the visuals). Leave it empty otherwise.
Like the other providers, it is available to the workspaces you allow in the common Availability control. See The integrations hub for the add, enable and save mechanics, and Source report providers for why providers are a trusted-location boundary.
The provider is read-only. Reportworq never writes to PAW, and the Select a Report dialog leaves its upload, rename, delete and new-folder buttons grayed out.
3. Choose a book in a job#
- In the job editor, open the Reports step and select Add a Report.
- In the Select a Report dialog, open the Planning Analytics Workspace provider, then the connection (shown by its friendly name, or by its server name if it has none), then Shared or Personal, as in PAW, then the folder, then select the book. Personal holds the books of the PAW user the connection signs in as. A book's type shows as PAW book, with no size.
- Confirm. Each PAW tab becomes a sheet of the report, in the tab order of the book.
The job remembers the connection it chose the book through, not only the server name. If you later have two Planning Analytics connections with the same server name (a development and a production connection, say) and the job cannot tell which one the book came from, the run is refused with a message asking you to choose the book again.
Sheet names. The sheet name is the tab name, made safe for Excel: the characters [ ] * ? / \ : become underscores, names are cut to 31 characters, and a repeated name gets " (2)", " (3)" and so on. The sheet name is also the PDF bookmark and the HTML tab. To rename it, use the Name view output option on the sheet. See Worksheet output options.
When you select a sheet, the right-hand pane shows a Planning Analytics Workspace book panel with:
- Book, Location (the connection and the PAW path), Tab and Sheet name.
- Drawn by, a choice of who draws the book's visuals: Reportworq (the default), Mixed or PAW pictures. See Let PAW draw the visuals.
- The count of visuals drawn, for example "3 of 4 visuals on this tab are drawn", and a list of each visual with its kind and how a run draws it.
The panel describes the book without reading any of its data. PAW can take a minute or two to answer, depending on its server and your connection to it. While it does, the panel says Loading this book from Planning Analytics Workspace, shows how long it has waited and what it is doing (signing in to PAW, reading the book, asking TM1 what the book's views filter on), and you can keep editing the job. If PAW cannot be reached, the panel says "The book could not be read just now. Its tabs and parameters are kept as saved; a run reads the book again." with PAW's reason under it.
4. Aim a parameter at a hierarchy#
A PAW book is usually narrowed by a selector (a drop-down on the page). A job replaces the selector with a parameter.
- Create the parameter as you would for any job. See Parameterize a distribution job.
- On the PAW sheet, open the parameter's value picker. It offers a PAW hierarchies column with the hierarchies that can narrow the book:
- The hierarchies the book's selectors are synchronized on.
- Every hierarchy in the context of a view the book uses, with how many of the book's views it appears in.
- Choose the hierarchy. Leave the picker blank if the parameter does not drive this book.
If the picker is empty, it says "No view in this PAW book has a hierarchy in its context to narrow. Put one on a view's context (or synchronize a selector) in PAW, then choose it here." Do that in PAW, then reopen the picker.
The Parameters step then summarizes the mapping as "PAW hierarchy:
Hierarchies other than a dimension's default one are listed as Dimension:Hierarchy, for example plan_time:Fiscal. A dimension's default hierarchy is listed by the dimension's name.
What the value does. At run time the parameter's value is set as the member of that hierarchy in the context of every view in the book that filters on that hierarchy, on every tab of the book, not only the tab you mapped it on. It is never written to a cell. Enter the value as the member name as TM1 knows it, for example a business unit code such as 10220, or as the full unique name of a member of that dimension, for example [plan_business_unit].[plan_business_unit].[10220].
If you map the parameter on some tabs only, the other tabs take the same value. If the tabs you mapped carry different values (one tab per region, say) and another tab maps none, Reportworq cannot tell which value that tab should show, so the run is refused and nothing is sent. Map the parameter on that tab as well, or give every tab the same value.
Bursting works as usual. Map the parameter to a burst set (see Burst with parameters) and the book is read and drawn once for each distinct set of values.
A value that narrows nothing stops the run. If a value is set and no view in the book has that hierarchy in its context, the run fails with "The parameter on '
A view the value skips is a warning. When the value narrows some views but not another, that view shows the same figures for every value. The run records a warning naming the view, and the job step shows Warnings instead of Success.
A PAW mapping on a report that is not a PAW book stops the run. If you change a job's source from a PAW book to a workbook and leave a parameter mapped to a PAW hierarchy, the run is refused with a message naming the parameter. Map the parameter to a cell or a filter of the new report.
What a run draws and what it leaves out#
Each run reads the book from PAW afresh, so edits you make in PAW come through on their own. If the book cannot be read (it was deleted, the sign-in failed, PAW is down), the run fails rather than sending an old version.
The book is drawn into a workbook, one sheet per tab:
| In PAW | In the output |
|---|---|
| Exploration | A table of the view's cells, with labels and values. |
| Single cell | The view name and one large value. |
| Chart (supported types below) | A Reportworq chart at the same place and size as in PAW. |
| Text box | The text. Large or bold paragraphs are drawn as headings. |
| Shape | A picture of the shape in its theme color. |
| Selector | Not drawn. A job parameter takes its place. |
| Button, data player | Not drawn: they are interactive only. |
| Image, websheet | Not drawn yet. |
Charts drawn. Column, bar, stacked column, stacked bar, line, point (drawn as a line), area, line and column, dual axis column, dual axis line, bullet, pie, waterfall and heat map.
Charts not drawn yet. Scatter, bubble, packed bubble, hierarchy bubble, tree map, radar, radial, marimekko, box plot, network, word cloud, tornado and the region and tiled maps. Where one of these sits on a page, the output has a note "PAW visualization '
A visual made straight from a cube, with no saved TM1 view behind it, is read from the rows, columns and context it was saved with in PAW, so it is drawn like any other. If it is set up in a way Reportworq does not read yet, the run stops, names the widget and what it does, and writes a "PAW support details" block to the run's step log (in the job editor's Test pane, View step log on the failed run): send that block to Reportworq support to have the setup supported. A workaround that works today is to base the visual on a saved TM1 view in PAW.
Check the run's warnings the first time you run a new book, and compare the output with the book in PAW.
Let PAW draw the visuals#
By default Reportworq draws every visual from the TM1 data. If you want PAW's own drawing for some or all of the visuals, choose that per report on the job. Select a sheet of the book on the Reports step and, in the Planning Analytics Workspace book panel, use Drawn by:
| Choice | What happens |
|---|---|
| Reportworq (the default) | Reportworq draws everything from TM1 data. Tables and values are real cells in Excel and text in PDF. |
| Mixed | Reportworq draws the tables and single values. PAW draws the charts, as pictures. |
| PAW pictures | PAW draws every chart, table and single value, as pictures. |
The choice applies to all tabs of the book and is kept with the job. Text boxes and shapes are always drawn by Reportworq. The panel marks each visual PAW will draw with "Picture drawn by PAW".
How it works. For each set of parameter values, Reportworq saves a temporary working copy of the book in the PAW user's own folder, with the values set in each visual's context. It opens the copy in a headless browser on the Reportworq server, captures each visual, and deletes the copy. If a run is interrupted the copy is still deleted; if the delete fails, the run log names the copy so you can remove it in PAW.
What you need.
- A browser on the Reportworq server: Google Chrome, Chromium or Microsoft Edge. Reportworq looks for one in the usual places. If yours is somewhere else, enter its path in Browser for PAW pictures on the IBM Planning Analytics Workspace report provider (Settings, Integrations), or set the
RW_CHROMIUM_PATHenvironment variable. The setting shows which browser it found, or "none". In a Docker container the browser usually cannot start its sandbox as the container's user, so also setRW_CHROMIUM_NO_SANDBOX=1on the container. - A PAW user who can save books in its own folder. The PAW user the connection signs in as must be able to create a book in its personal folder, because the temporary copy goes there.
What it costs.
- It is slower: roughly 20 seconds for each set of values in our lab, on top of the rest of the run. A job that bursts to many members takes correspondingly longer.
- Pictures are images, not values. Recipients cannot copy figures out of them, and Excel shows a picture where the default shows cells.
- A table or single value drawn by PAW includes PAW's own toolbar and title selectors in the picture.
- A visual that a value does not narrow, or that PAW did not draw, adds a run warning, as in the default mode. If PAW shows an error while drawing a tab, or does not finish within two minutes, the run fails.
Try it on one value first and compare the picture with the book in PAW before you commit a job to it.
Where the data comes from#
The numbers are read from TM1, not from PAW (except for the pictures PAW draws itself, above). Reportworq looks at the TM1 server named by each view in the book and uses the Reportworq Planning Analytics connection the book was chosen through when its server name matches, or else the connection whose server name matches, signing in with that connection's distribution credentials. Two things follow:
- A connection for that server must exist and be enabled. If none matches, the run fails with a message that names the server. If several connections have that server name and none is the one the book was chosen through, the run fails and names them.
- A book view that is private to a PAW user can only be read if the Planning Analytics connection signs in as that user. Public views have no such constraint.
PAW is used to read the book itself (its layout, tabs and which view each visual shows), and, in Mixed or PAW pictures mode, to draw the pictures.
Troubleshooting#
| What you see | What to check |
|---|---|
| Test Connection says it could not sign in to Planning Analytics Workspace | The PAW address, then the user: try Separate PAW credentials with a user who can open the book in PAW. Check that the Reportworq server can reach PAW. |
| The provider shows no root folders | At least one enabled Planning Analytics connection must have a PAW address. |
| A run fails naming a Planning Analytics database | No enabled connection has that server name. Add one, or correct the connection's server name. |
| A run fails reading a view that is private | Sign in as the private view's owner, or make the view public in TM1. |
| The output has a note about a visualization not drawn | That chart type is on the not-drawn list above. Its data is in the hidden columns of the sheet. |
| The run stops, saying a parameter narrows no view | A value is set and the book has no view with that hierarchy in its context. Choose another hierarchy, or put the hierarchy on a view's context in PAW. |
| A warning says a parameter does not narrow a view | The hierarchy is in the context of some views but not that one, so it shows the same figures for every value. Put the hierarchy on that view's context in PAW, or accept it. |
| The run stops, saying a tab maps none | The mapped tabs carry different values, so a tab with no mapping cannot be told which to show. Map the parameter on that tab too. |
| The run stops, saying the report is not a PAW book | A parameter is still mapped to a PAW hierarchy after the job's source was changed. Map it to a cell or filter of the new report. |
| The run says it cannot tell which connection a book belongs to | Two Planning Analytics connections have the same server name. Choose the book again, through the connection you want. |
| The run says picture mode needs a browser | No Chrome, Chromium or Edge was found on the Reportworq server. Install one or set Browser for PAW pictures. |
| The run says PAW would not save a working copy | The PAW user cannot save books in its own folder. Give it that permission, or use a user that has it. |
| The run says PAW did not finish drawing a tab | PAW is slow or the book is very large. Try again, or use the default mode for that book. |
| A run with a PAW book is slow | Open the run's diagnostics. Each render shows PAW Sign-in, PAW Book Fetch, PAW Browser Pictures (Mixed and PAW pictures only) and PAW Book Draw, so you can see whether the time is PAW, the browser drawing pictures, or the TM1 data. These steps are part of Open Workbook, not added to it. |
| The provider is missing or lists nothing, or a run says the license does not include PAW books | The license needs the paw_books entitlement. Ask your Reportworq contact. |
Limits#
- Preview: expect changes to the screens and to how some visuals are drawn.
- On Planning Analytics on IBM Cloud, PAW books are not available.
- Read-only: Reportworq never changes a PAW book.
- Fidelity is the same layout and numbers with Reportworq styling, not a pixel copy of PAW. Choose Mixed or PAW pictures to get PAW's own drawing, as images.
- Mixed and PAW pictures need a browser on the Reportworq server and are slower.
Related pages#
- Source report providers
- Connect IBM Planning Analytics
- Parameterize a distribution job
- Burst with parameters
Feedback on this page
Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.
Email feedback on this pageOr write to support@reportworq.com directly.