Editing a Dimension
- Last UpdatedAug 05, 2020
- 2 minute read
When editing a dimension, you can:
-
Modify the dimension field names and mappings.
-
Add or delete dimension fields.
-
Modify fields data type.
-
Modify the refresh rate.
-
Re-configure time-slicing.
-
Re-configure dimension links.
-
Re-configure the filter expression.
If you edit and check in a deployed dimension, then the state of the dimension changes to "Pending Changes". After you edit and check in the dimension, the system shows a message warning about the dependent measures that can be affected by the modifications.
You can modify the dimension field data type only if the existing data type is implicitly convertible to the new data type. If the data type is not convertible, then you can delete the existing dimension field and add a new field.
The following table lists the convertible data types:
|
Existing field data type |
Convertible to |
|---|---|
|
Boolean |
String |
|
Byte |
String, Int16, Int32, Int64, Decimal, Double |
|
DateTime |
String |
|
DateTime2 |
String |
|
Decimal |
String, Double |
|
Double |
String |
|
Int16 |
String, Int32, Int64, Decimal, Double |
|
Int32 |
String, Int64, Decimal, Double |
|
Int64 |
String, Decimal, Double |
|
Guid |
String |
|
String |
String |
|
Other |
N/A |
For more information about run time handling of the data store after modifying deployed dimensions, see Datastore Updates Resulting from Modifications to Deployed Dimensions.
For more information about run time handling of the on-going processes after modifying deployed dimensions, see Run time Handling of Deployed BI Gateway Objects.
To edit a dimension
-
Open the BI Gateway Model Builder.
-
Under the Dimensions section, click the dimension that you want to edit. The Dimension editor appears with the selected dimension details.
-
Do the required modifications.
-
Click Save.
-
If the dimension was deployed and changes were saved, it will be marked in the Explorer with a Black tag indicating that a (re) deployment is requirements may also have affected the dependent measures which will also be marked.
Important: If you delete a dimension field and check in the dimension, then a confirmation message appears. After you check in the dimension, the system deletes the column and data of the deleted dimension field from the dimension table.