What's new ⬇ Download Reportworq
⬇ Guide PDF

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#

Where your PAW runs decides how Reportworq signs in:

1. Add the PAW address to the connection#

  1. Go to Settings, Integrations, and open your IBM Planning Analytics connection (under DATASOURCES).
  2. Expand the Planning Analytics Workspace section. It starts collapsed until an address is saved.
  3. 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 out https://, Reportworq adds it.
  4. 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.
  5. 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.
  6. 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#

  1. In Settings, Integrations, select Add integration.
  2. In the Report Providers family, choose IBM Planning Analytics Workspace.
  3. 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#

  1. In the job editor, open the Reports step and select Add a Report.
  2. 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.
  3. 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:

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.

  1. Create the parameter as you would for any job. See Parameterize a distribution job.
  2. 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.
  3. 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 '' narrows no view in the PAW book '' ..." and nothing is distributed. Otherwise every recipient would get the same file. Choose a hierarchy the book offers, or put the hierarchy on a view's context in PAW. A blank value is not an error: the book is drawn as saved. If a book is later changed in PAW so that no view filters on the saved hierarchy, the editor tells you so when you reopen the job.

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 '' is not drawn by Reportworq yet." in its place and the run logs a warning. The chart's data is kept in hidden columns on the sheet, so it can still be used.

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.

What it costs.

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:

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#

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 page

Or write to support@reportworq.com directly.