How to Add or Delete Dimensions from a Model in SpotlightXL
  • 2 Minutes to read
  • Dark
    Light
  • PDF

How to Add or Delete Dimensions from a Model in SpotlightXL

  • Dark
    Light
  • PDF

Article summary

Adding a Dimension to a Model

In Practice

  1. In SpotlightXL, navigate to the Model > Setup.
  2. Click the Modify Model action as shown below. The dimensions associated with the model are displayed.
    modeifydimension.png

  3. Click Add Dimension.
    adddim.png

  4. Enter the name of the dimension you want to add and select whether it is a Value or Key dimension.
  5. Click OK and then Close the dialog page.
  6. The added dimension is updated in the Dimension list on the Model Setup page.
    modeldim21.png

  7. Click Save.
  8. Click Generate Model.
    4(102)
  9. Access the Model Dimension page and select the newly added dimension for the Model. Add members for the 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 dimension and click Save.
    newdim.png

  10. 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 (Department) is set to DimensionFilter and the Source Value is Department (the name of the root value). The Target Filter is set to None along with the Target Value. 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.
    5(85)
  11. Access the Analyze > Data page. Notice the Company dimension member is now displayed in the Model View.
    changedim1.png

Note:
Adding a dimension will adjust all dependent artifacts of the model (for example; Map, Formula, Scope, Views, and Reports) so that they all become available for usage once the dimension is added, however, it is recommended that a Power user validates the key artifacts and makes the necessary changes if required. Adding a dimension will not make any changes to the Calculations defined on the model. Power users have to review the calculations and make necessary changes if needed.

Deleting a Dimension from a Model

Note:
You can delete one dimension at a time.

In Practice

  1. In SpotlightXL, go to Model > Setup.
  2. The model must be in a non-generated state. Click Modify Model. The dimensions associated with the model are displayed.
  3. Delete the required dimension.
  4. When asked if you want to delete the selected item, click Yes.
Note:
If there is a formula defined on the dimension that is being deleted then that formula will be deleted when the dimension is deleted. Delete dimension will adjust all dependent artifacts of the model (for example; Map, Formula, Scope, Views, Reports) so that they all become available for usage once the dimension is deleted, however, it is recommended that a Power user validates key artifacts and make necessary changes if needed. Deleting a dimension will not make any changes to the Calculations defined on the model. Power users have to review the calculations and make necessary changes if needed.

Was this article helpful?