Batch deletion of named sets/hierarchies/calculated measures

When a dataset change occurs, such as replacing a model with a new model with a different name, if the named set/calculation measure in the dataset uses the dimension/measure/calculation measure in the replaced model, it will cause the named set/calculation measure in the dataset to become invalid. Another example: Delete the dimension of the model in Kylin, and the hierarchy created by using that dimension will become invalid.

In this case, the number of failed namesets/hierarchies/computational metrics may be very large, and batch deletion operations can be used to delete the invalid content.

The following example deletes both the invalid named set and the calculated metrics -

Models and datasets:

The model InternetSales_clone_Test and the model ResellerSales_clone_Test to form the data set MyTestDataset. It contains the calculation metric cm1 which references the measure from InternetSales_clone_Test, the calculation metric cm2 which references the measure from ResellerSales_clone_Test, and the named set N1 which references the dimension/measure from InternetSales_clone_Test.

Models and Datasets
Models and Datasets
Models and Datasets
Models and Datasets
Models and Datasets
Models and Datasets

Change operation:

Replace the model InternetSales_clone_Test in the dataset with another model

Models and Datasets
Models and Datasets

Calculate measure and named set invalidation:

Calculate metric cm1 and named set N1 invalidation:

Models and Datasets
Models and Datasets

Batch delete operation:

Click on this process at the top, select the calculated measure and named set you want to delete in the window, and click OK

Models and Datasets
Models and Datasets

Confirm again to delete

Models and Datasets
Models and Datasets

Delete successful

Models and Datasets
Models and Datasets

Save dataset

Models and Datasets
Models and Datasets
Powered by Gitbook.            Last Modified: 2022-03-25 15:16:09

results matching ""

    No results matching ""