To define the data that an automatic relational database or flat file publication publishes, add a filter to the publication. When you add a filter to a publication, you can define filter conditions to table rows.
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, 2016.
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
publishes only the rows that meet all of the conditions.
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: