Using Rule Builder in the Advanced Tab of Report Sets
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Using Rule Builder in the Advanced Tab of Report Sets

  • Dark
    Light
  • PDF

Article summary

Article Summary

This article provides a complete, step-by-step guide to using the Rule Builder in the Advanced tab of Report Sets. It explains how to create and edit advanced rules, apply custom calculations across dimensions such as Account, Department, Product, and more and validate syntax for complex formulas to ensure accurate reporting and analysis.

The Add or Edit option is available when the Reference Account line type is selected. Click to open the Add Rule or Edit Rule dialog box. Select the Advanced tab based on requirements. The Advanced Rule Builder helps you create custom calculations inside a Report Set. You can perform operations like summing accounts, calculating averages, or building formulas across multiple dimensions like Account, Department, Product, etc.

Toolbar Actions

  • Reset - Clear the currently added dimension members and revert to the previously saved state.

  • Copy - Copy the syntax.

  • Paste - Paste the copied syntax.

  • Check syntax - Click to validate if the syntax is correct or not.

  • Check Auto Syntax - Enable this option to auto-validate the syntax when you save the rule.

  • Clear - Removes the rule and rule definition.

  • Rule Builder - Displays the technical syntax of the member

    • Use this field to build formula.

    • Drag and drop members from the left tree.

    • You can select members from multiple dimensions using the drop-down menu in the Rule Builder (Left Tree). This allows you to create formulas across dimensions like Account, Product, Department, etc.

    • You can use:

      • Basic math operators: +, -, *, /

      • Common functions: such as SUM(), AVG(), and others

      • Parentheses ( ) to group calculations

      • Curly braces { } to combine multiple members

      • Parentheses around the entire formula if using commas

    • Avoid adding = at the beginning of the formula, it will throw a syntax error.

  • Rule Definition - Displays the Member Code and Member Name of the selected member.

    • The Rule Builder displays the technical syntax of a member using the Dimension name and system-generated IDX (e.g., [Account].&[1456]), while the Rule Definition shows the Member Code and Member Name (e.g., Net Income - NI).

    • When editing a rule, you can use the Member Code or Member Name from the Rule Definition to quickly locate the corresponding member in the Left Tree. Use the search function to find and reselect the member if you need to modify the rule.

    • When deleting a member from a rule, make sure to remove the corresponding Member Code and Member Name from the Rule Definition to avoid referencing invalid or missing members.

Understanding Rule Builder and Rule Definition with an Example:

Member Details

  • Dimension - Account

  • Member Code - Net Income

  • Member Name - NI

  • IDX - 1456 (System generated Index number associated with a member in the hierarchy)

When you drag and drop the Net Income member from the Account Dimension from the left tree to Rule Builder

  • Rule Builder displays: [Account].&[1456]

  • Rule Definition displays: [Net Income - NI]

Example Formulas

Examples

Description

sum([Account].&[1205],[Account].&[1206])

Sums the values of Account 1205 and 1206.

[Account].&[1205] + [Account].&[1206]

Sums the values of Account 1205 and 1206.

[Account].&[1205] + [Account].&[1206] - [Account].&[1209]

Adds Account 1205 and 1206, then subtracts Account 1209.

AVG([Account].&[3401],[Account].&[3395])

Averages the values of Account 3401 and 3395 across time.

[Measures].[YTD] * [Account].&[3405]

Returns the Year-to-Date (YTD) value for Account 3405.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.