Skip to content

Creating a chart#

A chart is created with a wizard: as a document of a section of the workbook, with its own calculation, or as a detail chart of a cube, on the data the cube already has. This page explains both ways and how to change later what the chart calculates.

Before you start#

  • You need to be able to modify the workbook. If the section menu does not offer New document, you do not have that permission (see Workbooks).
  • The segmentation of the section decides which records go into the chart. If you have not defined it yet, see Segmentations.
  • Think about what you want to compare: the metric that is measured, the dimension of the values (the axis) and, if you want to split each value into series, the dimension of the series.

Create a chart document#

  1. Open the workbook and, in the outline, open the menu of the section in which you want the chart.
  2. Choose New document › Chart…. The New chart wizard opens.
  3. In Name, type the name of the document. Empowerment Center suggests “Chart 1” (or “Chart 2”, “Chart 3”… if it already exists).
  4. In the Available metrics and dimensions tree, choose a metric and click Add metric (or double-click it, or press Enter). Repeat with each metric you want.
  5. Choose the dimension of the values and click To values. Do the same with the other dimensions you want to use: To series, To sorting and To label.
  6. If you want the document to always serve the data of its last calculation, check Keep data.
  7. Click Create chart.

The document is saved in the workbook, calculated and opened in the viewer.

The chart wizard with the total amount in Metrics, Zona in Values and Año in SeriesThe chart wizard with the total amount in Metrics, Zona in Values and Año in Series
The chart wizard with the total amount in Metrics, Zona in Values and Año in Series

The zones of the wizard#

To the right of the tree are the zones of what the chart contains. Each chosen metric and dimension is a pill in its zone.

Zone What it contains
Metrics The metrics that are measured, in the order in which they are drawn. At least one.
Values (axis) The dimension of the categories. Without it, each metric is a point.
Series (legend) The dimension that splits the categories into series. It needs a values dimension.
Sorting The dimension that sorts the categories without being drawn.
Dynamic label The dimension whose values are written in the footer of the chart.

Ways to fill and arrange the zones:

  • Double-click (or Enter) on a node of the tree: a metric goes to Metrics; a dimension, to the first free role, in this order: series, values, sorting and label. Since series need values, the first dimension ends up in Values (axis).
  • Drag a node of the tree to a zone. A dimension dropped on a role that already had one replaces it. If the zone does not accept it, the wizard says so.
  • Drag a pill from one role to another: if the target one had a dimension, they are swapped.
  • The menu of a pill (or Shift+F10 on it): Move to another role, Move earlier (Alt+←) and Move later (Alt+→) for the metrics, and Remove (Del).

What can be combined#

The tree only lets you add what can be combined with what you have already chosen: the metrics and the dimensions have to be relatable through the tables of the metadata. What does not fit appears disabled. If you remove a metric and some dimension can no longer be combined with the remaining ones, the wizard removes it and tells you (“… is removed: it cannot be combined with the remaining metrics”).

Wizard messages#

Message What it means
“Type the document name” The name is empty.
“Choose at least one metric” The Metrics zone is empty.
“That metric cannot be combined with the chosen ones” The metric is from a table that is not related to the dimensions already chosen.
“That dimension cannot be combined with the chosen metrics” The same, with a dimension.
“The series dimension must be different from the values one” You tried to use the same dimension in both roles.

Groupings from the wizard#

If you have Workbook administration, the menu of a node of the tree (right-click, Shift+F10 or the menu key) offers New grouping… on a dimension that allows them and Edit grouping… on a grouping you can change. When you save it, the tree is read again with the grouping in view and the wizard stays open. A grouping is used in the chart like any dimension. Groupings are explained in Groupings.

Change what a chart document calculates#

There are two ways to go back to the wizard of a chart that already exists.

From the workbook outline#

In the outline, open the menu of the document and choose Wizard…. Wizard of “…” opens with what the chart has. When you click Apply, the document is saved with the new definition and calculated again.

If something it used no longer exists or you no longer have access to it, the wizard removes it and tells you when it opens (“Metrics that no longer exist or that you do not have access to are removed”).

From the viewer#

In the viewer of the chart document, click Wizard… in the header (or in the Data tab of the properties). The wizard opens with the tree of the connection.

  • If everything you choose is already calculated, the chart changes without going back to the database.
  • If you choose something that is not calculated (another metric, another dimension), the chart is calculated again from the viewer.

In both cases the document is not saved until you click Save chart. While the chart has been recalculated this way, Save as bookmark… is not available: what requires recalculation is saved in the document, not in a bookmark.

Tip

For changes that do not need new data (the chart type, removing a metric, changing the role of a dimension that is already calculated) you do not need the wizard: use the Data tab of the properties (see Chart properties).

Create a detail chart of a cube#

A detail chart draws the data the cube has already calculated, so it can only use the metrics and dimensions of the cube, and it follows its layout.

  1. Open the cube in the viewer.
  2. Open the ⋯ menu of the header and choose Detail chart…. The New detail chart dialog opens, with the first dimension of the rows in the values and the first metric checked.
  3. In Name, type the title of the chart panel. Without a name, the panel is called “Chart 1”, “Chart 2”…
  4. In Metrics, check the ones you want to draw.
  5. In Dimensions, choose the one for Values (axis) and, if you want, the ones for Series (legend), Sorting and Dynamic label.
  6. Click Create chart.

The chart appears in the details panel of the cube, in a tab with its name. To keep it with the cube, click Save layout in the cube header: detail charts are saved with the layout.

The cube “Importe por zona y año” with its two detail charts in the bottom panel, side by sideThe cube “Importe por zona y año” with its two detail charts in the bottom panel, side by side
The cube “Importe por zona y año” with its two detail charts in the bottom panel, side by side

How a detail chart behaves#

  • It follows the cube: the filter and the sort order of each dimension are those of the cube layout. If you filter the zone in the cube, the chart only shows those zones. That is why a detail chart has no filter pills of its own.
  • Its drill down is its own: clicking a point and filtering or drilling down to another dimension only changes the chart (see Drilling into a chart).
  • It does not query the database: it has no date levels of its own nor a wizard with the metadata.
  • Details panel: the buttons of its bar let you View side by side all the details and Dock to the right or Dock at the bottom the panel. Each browser remembers the choice for each document.
  • Remove (in the chart bar, or the cross of its tab) removes it from the cube; the change is saved with Save layout.
  • If a dimension or a metric of the chart disappears from the cube (for example, when the cube is changed with its wizard), the chart no longer fits and the cube removes it, with a warning.

The properties of a detail chart are opened with Properties, in a side panel. They are the same as those of a chart document, except the date level and the wizard.

See also#