IBM PLANNING ANALYTICS

Rules vs processes in TM1: what is the difference?

This video explains the difference between rules and TurboIntegrator processes in IBM Planning Analytics. A revenue example shows when to use a calculation rule and when to run a process.

The short answer

A rule defines a calculation for cells in a cube. A TurboIntegrator process executes a sequence of actions when it runs, such as importing data or performing a specific calculation.

Original transcript (German)

In IBM Planning Analytics beziehungsweise TM1 gibt es Rules und Prozesse. Aber worin liegt der Unterschied? Rules berechnen Werte, zum Beispiel den Umsatz. Zehn mal 25 ergibt einen Umsatz von 250. Diese Rule gilt für eine bestimmte Zellkombination. Wenn ich die Menge von zehn auf zwölf ändere und der Preis bei 25 bleibt, erhalte ich den neuen Umsatz von 300.

Rules beschreiben Berechnungen in einem Cube. Das Ergebnis steht ohne einen zusätzlichen Prozesslauf zur Verfügung. Wenn sich ein Eingabewert verändert, wird das Ergebnis bei der nächsten Auswertung entsprechend aktualisiert. Prozesse hingegen führen gezielt Aktionen aus. In einem Prozess gibt es häufig eine Quelle und ein Ziel. Auch mit Prozessen lassen sich Daten berechnen oder komplexere Berechnungen ausführen.

Mit Prozessen kann ich außerdem Daten importieren, exportieren, transformieren, kopieren oder gezielt löschen. Brauche ich eine Berechnung oder eine Aktion? Eine Rule ist sinnvoll, wenn Werte automatisch aus anderen Werten abgeleitet werden sollen, zum Beispiel bei Berechnungen mit Wechselkursen. Einen Prozess verwende ich, wenn ich gezielt eine Aktion ausführen möchte, beispielsweise Daten importieren, exportieren oder eine Berechnung anstoßen.

Ein Prozess kann auf Knopfdruck ausgeführt werden. Kurz zusammengefasst: Eine Rule ist eine Rechenregel für Werte eines Cubes. Ein Prozess führt eine gezielte Folge von Aktionen im System aus.

English transcript

IBM Planning Analytics, or TM1, has rules and processes. But what is the difference? Rules calculate values, such as revenue. Ten multiplied by 25 gives revenue of 250. This rule applies to a particular cell combination. If I change quantity from ten to twelve while the price stays at 25, the new revenue is 300.

Rules define calculations in a cube. The result is available without running an additional process. When an input value changes, the result is updated accordingly the next time it is evaluated. Processes, on the other hand, execute specific actions. A process often has a source and a target. Processes can also calculate data or perform more complex calculations.

Processes can also import, export, transform, copy or explicitly delete data. Do I need a calculation or an action? A rule is appropriate when values should be derived automatically from other values, for example calculations using exchange rates. I use a process when I want to execute a specific action, such as importing or exporting data or starting a calculation.

A process can be run at the click of a button. To summarise: a rule is a calculation rule for values in a cube. A process executes a specific sequence of actions in the system.

Step by step

01

Define a calculation with a rule

In the example, quantity multiplied by price gives revenue: 10 × 25 = 250. Increasing quantity to 12 at the same price gives revenue of 300.

02

Execute an action with a process

Processes can import, export, transform, copy, delete or calculate data. They execute their programmed steps when started.

03

Choose the appropriate approach

Use rules for dynamically derived cube values and processes for specific processing steps. Both approaches can complement each other in a model.

Technical context

“Immediately” refers to the visible result without a separate process run. TM1 evaluates rules on demand. Rules belong to a cube but can reference values in other cubes. Processes can also run on a schedule through chores.

Practical example

Scenario

Revenue must be derived from quantity and price. Data also needs to be imported or processed explicitly.

Result

A rule defines the revenue calculation. A process handles the data import or the specific processing steps.

Frequently asked questions

Can processes also calculate values?

Yes. TurboIntegrator processes can perform calculations as well as data and metadata operations.

Do I always have to start processes manually?

No. Processes can also run automatically, for example through scheduled chores.

More Planning Analytics tutorials

Florian KaiserFlorian KaiserIBM Planning Analytics consultant

Planning Analytics support

Discuss your project

Do you use Planning Analytics or want to introduce it? I can help you plan and implement your next steps.

Discuss your project ↗
Further IBM documentation