Before schemas can be published, they must be validated. Many schema element property values are validated on an ongoing basis as you type, select from menus, or make changes in the Schema Editor. The validation on a schema property element occurs as soon as you have changed a value of an element property in the Schema Element Properties View and focus is changed to another field.
When the schema validation fails, the Schema Element Properties View displays an icon next to the invalid property setting.
The following figure shows a schema with a warning and an error. The elements that make this schema invalid are an empty caption and an unspecified default measure. The error and warning appear in the Schema Element Properties View, prompting you to enter the values for the caption and default measure.
- Cube
- Dimension for cube
- Hierarchy for the dimension
- Level for the hierarchy
- Measure
If a schema fails to validate, it can still be saved to a .biml file. See Saving a Schema to the File System.
MDX query language expressions and calculations in calculated measures, named sets, and calculated members are checked for syntax only. Validation can succeed even if the expression semantics are incorrect. See Measure Groups and Cubes.