Skip to content

The segmentation editor#

In the segmentation editor you define the criteria of a segmentation of a workbook, save them and process its documents. It is the same editor used to define a list and to filter a document with an additional segmentation.

Before you start#

  • You need the Access to Empowerment Center privilege.
  • To save you have to be able to modify the workbook. If you can only read it, the editor shows the criteria as text, with the note “Read-only: these are its criteria.”.

Open a segmentation of the workbook#

  1. Open the workbook from Workbooks.
  2. In the workbook outline, choose the segmentation. You can also click the Segmentation · n criteria link of its card in the workbook summary.

    The editor takes up the workspace of the workbook, with the name of the segmentation as its title.

The segmentation editor in simple mode, with the dimension tree on the left and the criteria of a dimension on the rightThe segmentation editor in simple mode, with the dimension tree on the left and the criteria of a dimension on the right
The segmentation editor in simple mode, with the dimension tree on the left and the criteria of a dimension on the right

The parts of the editor#

The header#

Element What it does
Name of the segmentation The title of the editor.
Count How many criteria it has: No criteria, 1 criterion, n criteria. It counts the top-level criteria.
Simple / Advanced Changes the editing mode. See Advanced segmentation.
View criteria Opens the criteria written as text, to read, copy or print them.
⋯ (More segmentation actions) Initialize…, Export, Import… and Refresh dimensions.
Status Unsaved segmentation, Saving…, Saved at hh:mm, Processing n documents… or the result of the last process.
Save Saves the segmentation in the workbook (Ctrl+S; ⌘+S on Mac).
Process segmentation Saves if there are changes and calculates all its documents (Ctrl+Enter; ⌘+Enter on Mac).

In simple mode, under the header are the applied criteria, one per dimension, list or metric, in the form “Zona: is in the list Norte, Este”. Click a criterion to go to its conditions, or its ✕ to remove it.

The dimension tree#

On the left is the tree with the metadata folders. It only shows what you can use in segmentations:

Element How it is recognized
Dimension Its icon says its type: Text, Numeric, Date, Lookup: checkbox list, Extended lookup: double list or Hierarchy. When you hover over it you also see its description, if it has one.
Level of a hierarchy It hangs from the upper level: Zona › Provincia › Municipio.
Grouping It hangs from its dimension, with the help “Grouping of “Zona””. See Groupings.
List In the list folder of its table, with the help “List of Clientes”. See Lists.
Metric In the metrics folder of its table, with the help “Metric of Facturas”. See Conditions on metrics.

What has criteria has a red dot (Has criteria), and so does its folder (Contains criteria). When the editor opens, the marked folders are expanded.

To find something, type in Search dimension or list…, above the tree. If nothing matches, the tree says “No dimension or list contains “…”.”.

The criteria of what is chosen#

On the right is the criteria window of what you choose in the tree. It changes according to the type:

Chosen Window
Text, numeric or date dimension One row per condition, with Add condition.
Lookup: checkbox list The values with checkboxes, All, Nothing and include or exclude.
Extended lookup: double list The values on the left and the chosen ones on the right.
Hierarchy A tree of values with three-state checkboxes.
Grouping Its buckets with checkboxes; in a grouping by values, also its values.
List Not used, included or excluded.
Metric One row per condition, like a numeric dimension.

How each window is used is explained in Conditions by type of dimension. While you choose nothing, the window says Choose a dimension or a list (or Choose a dimension, a list or a metric) and reminds you that criteria on different dimensions all apply.

Define a simple segmentation#

  1. In the tree, choose the dimension you want to narrow down.
  2. In the window on the right, give it its criteria: add conditions, check values or choose a list.
  3. Repeat with other dimensions. Each one appears as an applied criterion in the header.
  4. Click Save.

    The status becomes Saved at hh:mm. Its documents will be calculated with the new segmentation the next time they are opened or processed.

Note

When saving, the server checks the segmentation against the metadata of that moment. If something is not valid (a dimension that no longer exists, a badly written value), the status says why and it is not saved.

Process the segmentation#

Process segmentation calculates at once all the documents of the segmentation with what is saved.

  1. Click Process segmentation. If there are unsaved changes, they are saved first.
  2. Each document is calculated as a job on the server. The status says how many are left (Processing 3 documents…) and the workbook outline shows the progress next to each document.
  3. When it finishes, the status says Segmentation processed or how many documents could not be processed. The reason for each failure is shown in the outline, next to the document.

The button is disabled if the segmentation has no documents (“The segmentation has no documents”).

Leave with unsaved changes#

If you change the segmentation and leave it without saving it, the application asks Leave without saving the segmentation? before discarding the changes.

View the criteria#

View criteria opens the Segmentation criteria dialog with the segmentation written as text:

  • In a simple segmentation, its name and, for each table, its name underlined and one line per dimension, list or metric. The conditions of the same dimension read joined with “or” and “and”, and the values of a lookup go one per line.
  • In an advanced segmentation, the indented tree, with the title Advanced segmentation.
  • Without criteria, “No segmentation criterion has been applied.”.

At the bottom of the dialog:

Button What it does
Copy Copies the text to the clipboard. If the browser does not allow it (for example, on a page without HTTPS), it says so.
Print Opens the browser's print dialog with the text.
Close Closes the dialog.
The Segmentation criteria dialog with the criteria of a section written as textThe Segmentation criteria dialog with the criteria of a section written as text
The Segmentation criteria dialog with the criteria of a section written as text

More actions#

The actions of the ⋯ button of the header:

Action What it does
Initialize… Removes all the criteria. If the segmentation had any, it first asks Initialize the segmentation?
Export Downloads the segmentation as a JSON file with the name of the segmentation. It is used to take it to another segmentation of the same workbook or of another workbook of the same connection.
Import… Replaces the segmentation with that of a file exported earlier. If the current one has criteria, it asks Replace the segmentation with that of “…”?
Refresh dimensions Reads the values and descriptions of the dimensions again, in case they have changed in the database while you had the editor open. When it finishes it says “The values of the dimensions have been read again.”.

An imported file is rejected, without touching the existing segmentation, if it does not have the shape of a segmentation or if it uses dimensions or metrics you do not have available (from another connection, for example). The notice says which: “The file … could not be loaded: it uses dimensions that are not available: …”.

Note

Empowerment Center 7 .ECQ files are not imported here: the segmentations of the EC7 workbooks are brought by the importer when migrating.

Keyboard shortcuts#

Keys What it does
Ctrl+S (⌘+S on Mac) Saves the segmentation. It never opens the browser's “Save page”.
Ctrl+Enter (⌘+Enter on Mac) Processes the segmentation.

With a dialog open on top of the editor, the shortcuts do not act on the segmentation. The shortcuts of the advanced segmentation are in Advanced segmentation.

See also#