Creating Flag Rules

Flag rules allow you to bring in Boolean values from a flag table.

To add a flag rule:

  1. On the top of the Measure Factory Editor page, click Rules.

  2. On the upper right, click New.

    The ClosedNew Rule pane opens on the right.

    Select Flag Rule Type

  3. Select Flag rule.
  4. Select a data set.
  5. Select a flag table.
  6. Click Create rule.

    The Closedflag rule is created and opens in the detail pane with the default name NewRule#.

    Flag Rule Name

  7. Enter a name for the rule, and click Green check mark to confirm your changes.

    NOTE: The Column automatically populates assuming the column name is the same as the rule name. If necessary, select a different column from the list.

    In this Closedexample, the flag rule is Foundation Product in the Sales data set, pointing to the Product Flags flag table, using the column Foundation Product as the flag.

    Flag Rule Example

  8. Optionally, expand the ClosedDocumentation section to enter additional information about the rule.

    Documentation Chevron

  9. Click the blank section to the right of a field to edit it. When editing in the multi-line text boxes, press Ctrl+Enter or Shift+Enter to create a new line, or press Enter to apply your changes and exit edit mode.

    Click Green check mark to confirm your changes.

  10. Optionally, expand the Governance section to enter notes regarding governance. For example, who is responsible for updates, or when it was last modified.When editing in the multi-line text boxes, press Ctrl+Enter or Shift+Enter to create a new line, or press Enter to apply your changes and exit edit mode.
  11. Save the tab.

Watch the Video: Creating a Flag Rule.

See Factory Flag Rules for more information about flag rules.