When building a Turbo Integrator (TI) process in IBM Planning Analytics, you may want to check whether a dimension already exists before importing or manipulating data.
The DimensionExists function makes this simple. It checks for a specified dimension and returns a value that you can use to determine what your process should do next. This can help prevent process failures, reduce manual dependencies and improve the reliability of your automated processes.
How does DimensionExists work? #
The DimensionExists function returns:
- 1 if the dimension exists
- 0 if the dimension does not exist
This means you can use it within an IF statement to control what happens next in your TI process.
How do I add a dimension check to my Turbo Integrator process? #
From Planning Analytics Workspace, navigate to Data and Models and open an existing Turbo Integrator process or select Create Process from the Processes section of your database.
In the Process editor, click the Add button in the toolbar to access the functions list and select DimensionExists.
A dimension check is typically added to the Prolog section of your process.

How do I check whether a dimension exists? #
In your Turbo Integrator process, use:
DimensionExists('Dimension Name');
For example, to check whether a dimension called Accounting Line exists:
DimensionExists('Accounting Line');
You can then use the value returned by the function to determine what happens next in your process.
How do I create the dimension if it doesn’t exist? #
You can combine DimensionExists with DimensionCreate:
IF (DimensionExists('Accounting Line') = 0);
DimensionCreate('Accounting Line');
ENDIF;
This checks for the Accounting Line dimension. If it doesn’t exist, Planning Analytics will create it before the process continues. If the dimension already exists, the creation step will be skipped.
This can be particularly useful when building automated TI processes, as it allows the process to check that the dimension it needs is available before attempting to use it.
How do I run the dimension check? #
Once you have configured your dimension check, save and run your Turbo Integrator process.
The process will check whether the specified dimension exists and continue according to the logic you have defined.
Need more help with Planning Analytics? #
If you have a question about Turbo Integrator or IBM Planning Analytics that we haven’t covered in our Knowledge Centre, contact the Aramar team. We’re always happy to help.