Define the data that the subscription consumes by setting filter conditions on table columns in the
Filter
page of the subscription wizard.
If data relations are defined for the topic to which the subscription subscribes, filters are applied to the tables for which the relations are defined, and the subscriber consumes only the data that is defined by the data relations.
You can use basic expressions and advanced expressions to define filter conditions. You can use more than one method to add filters to a table row.
Basic Expression
Use this method if you want to apply a condition to a table row and the operators and values in the basic condition builder meet your requirements. For example, for an Orders table, add a condition that the date in the ShippedDate column is greater than April 1, 2015.
Advanced Expression
Add filter conditions to tables with PowerCenter expressions. For example, for an Orders table, add the following expression:
(ShipCountry=’USA’) and ((ShipCity=’New York’) or (ShipCity=’Los Angeles’))
The filters use an AND logic. If multiple filters exist for a table,
Data Integration Hub
writes only the rows that meet all of the conditions to the target.
Choose the type of expression that you want to create.
Select the table to which to apply the filter from the
Select Table
list.
Enter the condition parameters according to the method that you selected: