- 3 Minutes to read
- Print
- DarkLight
- PDF
Dynamic Planning How to Add or Delete Dimensions from a Model
- 3 Minutes to read
- Print
- DarkLight
- PDF
Add and/or delete dimensions from a model. When you add or delete dimensions associated with a Model, the modification affects ALL dependent artifacts. For example, if you delete a Company dimension from a Model, not only is the Model modified, but your associated reports and views are modified to reflect the deletion of the Company dimension because views and reports are dependents of the Model.
Creating a Staging Model
Complete the following steps to create a staging model:
Create the Staging Model
Create a new staging model with the same dimensions as the source model
Create a map of type ‘Both’ to move all metadata and data from the source model to the staging model
Generate the staging model
Clear the source model and make necessary changes (i.e. adding a dimension / deleting a dimension)
Move the data (leaf level only) into the source model from staging model
Create a map of type ‘Data’ to move data from staging model to source model
Create a calculation to generate the source model and move the data from the staging model
Run aggregation or any other calculations as needed to make the source model available for analysis / reporting / modeling
Delete the staging model
Adding a Dimension to a Model
Click the Modify Model action as shown below. The dimensions associated with the model are displayed.
Click Add Dimension.
Enter the name of the dimension you want to add and select whether it is a Value or Key dimension.
Click OK and then Close the dialog page.
The added dimension is updated in the Dimension list on the Model Setup page.
Click Save.
Access the Model Dimension page and select the newly added dimension for the Model. In the example below, the Company dimension is added. Add members for the Company dimension and then click Save. Also a root member with the name of the dimension is added. You can then add additional dimension members for the Company dimension and click Save.
Access the Model Map page. Observe the new line for the added dimension. If you select the model with the new dimension as your Source Model, the Source Filter for the new Dimension (Company) is set to DimensionFilter and the Source Value is Company (the name of the root value). The Target Filter is set to None along with the Target Value as shown below. Similarly, if you select the model with the new dimension as your Target Model, the Target Filter is set to Dimension Filter with the Target Value as the root value. The Source Filter is set to None along with the Source Filter Value.
Return to the Model Setup page and click Generate Model.
Access the Analyze Data page. Notice the Company dimension member is now displayed in the Model View.
Deleting a Dimension From a Model
Click the Modify Model action as shown below. The dimensions associated with the model are displayed.
Delete a selected dimension as shown above.
When asked if you want to delete the selected item, click Yes