XLCubed Business Rules
The XLCubedBusinessRules sheet is included in the workbook from the XLCubed->Insert-> Business Chart menu. This sheet serves to map the predefined business rule types on to the hierarchy members where they are applied to. See Business Rules for more information.
It is possible to configure the XLCubedFormats sheet to apply custom formatting to the dynamic charts based on the mappings defined in the XLCubedBusinessRules sheet. This can be done by adding "Business Rule" as the hierarchy , and one of the following rules as the member, in the slice highlight areas of the format sheet.
For variance charts:
- Positive Variance
- Negative Variance
- Zero Variance
- No Change
We can see that the default formatting for a variance waterfall chart can be seen below.
We can override this formatting by specifying alternate values for the rules used in the Waterfall chart. These members are selected for configuration by using the 'Business Rules' keyword as the hierarchy.
If we refresh the waterfall chart seen above, we see that the new formats for the Positive, Negative and Total types are applied.
For example, consider the XLCubedBusinessRules sheet set up as follows:-
which corresponds to the following XLCubedFormats:-
Each chart is then formatted according to the formats defined for the scenarios:-
For the Business Rule formatting to apply it is necessary to un-check the formatting specified in the XLCubed Formatting pane (Dynamic Chart->Chart Styles->Formatting Pane)
Apply formatting to individual charts
The following example is of a Business Scenario chart which uses a calculated member for the Actual member.
The mapping for the calculated member 'my actual' is defined as follows on the XLCubedBusinessRules sheet:-
The formatting can be specified on the XLCubedFormats sheet at the chart level. The 'Item Name' can be set on the chart as follows:-
We can now specify which formatting we want to apply at the chart level in the XLCubedFormats sheet.
For the chart that we have called 'right_chart' we can apply a different format to that which we have called 'left_chart' as can be seen below.