Validation rules use case and features:
- Prevent data input for invalid combinations.
- Derive related members based on attribute values in the dimension.
- Warnings in the story help to guide planners.
- Use a combination of members: For example, only allow entry for cost center = Sales and account = advertising.
- Use dimension members referenced as attributes: For example, only allow entry for cost center = CC100_1000, Company 1000, and Profit Ctr PC100.
In planning models, you can define valid combinations of dimension members that control data entry and derivation.
Validation rules define allowed member combinations to prevent improper data entry. For the dimensions you define in a validation rule, only the member combinations that you specify as allowed combinations can pass validation.
Validation rules require dimensions with properties that refer to other dimensions in the model.
Note
To use a validation rule:
- Enable Validation Rules in the model settings.
- In the Validation Rules workspace of the model, create a validation rule.
- Create an attribute-based validation rule:
- Select the reference dimension.
- Map the reference dimension property to a matching dimension.
- Create a member-based validation rule:
- Select the dimensions to cross reference.
- Map the allowed dimension members.
- Create an attribute-based validation rule:
- Activate the rule by turning on the switch under Activate Rule, and then saving the rule.
- Test the validation rule in a story.

Validation Rules with Existing Attributes
Without using a validation rule to combine two dimensions, you can ensure strict member combinations by maintaining members of one dimension as the other one’s attributes. With validation rules, you can match the existing attributes you maintained for that reference dimension to the matched dimension and create validation rules based on that.

Validation Rules by Combining Dimension Members
You can create a validation rule by directly specifying the dimension members that allow data entry. Dimension combinations other than the ones you define in rules are invalid and won’t allow data entry or planning operations.
With dimension combination rules, you can match the existing attributes maintained for the reference dimension to the matched dimension and create dimension combination rules based on that.
To define multiple allowed members to match with the reference dimension attribute, enter the members and use a separator such as a comma (,) between the members.

Validation Rules Panel
Once a rule has been created, you can view them in the Validation Rules panel.
- Select the validation rule in order to view it in the workspace.
- Create a new validation rule or delete an existing rule.
- Activate, deactivate, or edit a rule. Selecting edit will allow you to change the rule in workspace (it will no longer be greyed out).

Points to Note and Restrictions
To use validation rules, users must have the Planning Professional license and the Validation Rule permission.
- You can create three rules for one model.
- You can define up to three dimensions in one rule.
- You can use the same dimension in up to 10 different rules.
- You can't choose time or version dimensions in a dimension combination rule.
- You can't use system properties, only custom properties are supported.
- All values of the property are available as dimension members in the matched dimension. Otherwise, you'll receive an error or warning message asking you to check and maintain the dimension's master data.







