Filter Output in Rules | Vantage Analyst - Filtering Output - Teradata Analytic Apps - Vantage Analyst

Vantage Analyst User Guide

Product
Teradata Analytic Apps
Vantage Analyst
Release Number
1.4.1
Published
May 2022
Language
English (United States)
Last Update
2022-05-09
dita:mapPath
ufz1626905554941.ditamap
dita:ditavalPath
wsp1565965728073.ditaval
dita:id
B035-3805
Product Category
Teradata Applications

After configuring a table for the type of rule you are creating, set up WHERE and HAVING conditions. By default, all rows in the source tables selected are included. Adding filters constrains the rows to meet your defined criteria.

  1. From Filter, select one of the tabs to apply a condition:
    Condition Description
    WHERE Condition applied on a row-by-row basis.

    Example: customer.age > 18

    HAVING Condition applied to aggregate values.

    Example: HAVING SUM(account balance) > 10000

  2. Do the following to define the filtering output:
    Filtering Type Description
    WHERE CRITERION Define a single filter.
    1. Select Criterion.
    2. To filter by field:
      1. Click Select a field and select a field.
      2. Select an operator.
      3. Enter a value or select "" to select a field to compare or create a formula to compare.
    3. To filter by formula:
      1. Select "" > Formula.
      2. Complete the Formula Builder fields.
      3. Select Save and Close.
      4. Select an operator.
      5. Enter a value or select "" to select a field to compare, or create a formula to compare.
    GROUP Define an advanced filter with nested criteria.
    1. Select Group.
    2. Select All or Any.
    3. Insert a new Criterion.
    HAVING CRITERION
    You must include an aggregate function, such as, SUM, COUNT, AVG, MIN, or MAX.
    1. Select Criterion.
    2. Complete the Formula Builder fields.
    3. Select Save and Close.
    4. Select an operator.
    5. Enter a value or select "" to select a field to compare, or create a formula to compare.
    GROUP Define an advanced filter with nested criteria.
    1. Select Group.
    2. Select All or Any.
    3. Insert a new Criterion.
    Tip:

    To delete a criterion or group, select "" > Delete.

    To duplicate a criterion or group, select "" > Duplicate.

  3. Select Continue.