Table of Contents

Search

  1. Preface
  2. Introduction to Data Integration Hub
  3. Catalog
  4. Applications
  5. Topics
  6. Creating Topics
  7. Topic Properties
  8. Publications
  9. Creating Publications
  10. Publication Properties
  11. Subscriptions
  12. Creating Subscriptions
  13. Subscription Properties
  14. Events and Event Monitoring
  15. Dashboard and Reports
  16. Glossary

Operator Guide

Operator Guide

Step 5. Define a Filter

Step 5. Define a Filter

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.
  1. Choose the type of expression that you want to create.
  2. Select the table to which to apply the filter from the
    Select Table
    list.
  3. Enter the condition parameters according to the method that you selected:
    • Basic expression: go to step 4.
    • Advanced expression: go to step 5.
  4. To create a basic expression, perform the following steps:
    1. Select the column to filter from the
      Select Column
      list.
    2. Select the filter operator from the
      Select Operator
      list.
      The available operators depend on the type of content in the column.
    3. When
      Select Value
      is enabled, select or enter a value for the operator.
    4. Click the plus icon to the right of the expression line.
    The condition shows in the condition list.
  5. To create an advanced expression, perform the following steps:
    1. Enter a valid PowerCenter expression in the text field. Alternatively, prepare a basic expression, select
      Advanced Expression
      , and then, in the expression text area, complete the expression.
      The expression is limited to the selected table. The expression can contain up to 1024 characters.
    2. Click the plus icon to the right of the expression line.
    The condition shows in the condition list.
  6. Repeat steps 1 through 5 to add the required conditions.
  7. Click
    Next
    .
    The
    Schedule
    page appears.

0 COMMENTS

We’d like to hear from you!