SSIS:Custom Output Filters

From Melissa Data Wiki
Jump to navigation Jump to search

← SSIS:Data Quality Components


SSIS IP OutputFilter.png

SSIS components will output records in up to four streams. Names and usage can be done in any manner. Filters are evaluated from the top down. A custom filter may be created based on individual need, each pin filters the records in a cascading effect, where the results code is compared against the first expression (Pin 1) and then compared against Pin 2, and so on.

Custom Filter

Select Customer Filter from the drop down and click the ... button next to the Customer Filter Expression text box to open an Output Filter Expression dialog box. These rules use Boolean operators ("OR," "AND," and "NOT") and the result codes to construct filters. Records matching the filter will be directed to the valid table while the rest are directed to the invalid table.

SSIS IP OutputFilter ExpressionDialog.png

A custom rule example could be: "(AS01 OR AS02)". This means that the conditions for the rules are met if either result code "AS01" or "AS02" were returned.

Validate Custom Rules

SSIS IP OutputFilter Validated.png

A custom expression may be tested by clicking on the "Test Expression" button. A pop-up dialog box will confirm whether or not the custom expression is acceptable.

SSIS IP OutputFilter TestExpression.png

Save as Custom Filter

SSIS IP OutputFilter SaveCustom.png

Right-click the Custom Expression, then left-click Save as Custom Filter from the pop-up. Enter a name for the filter in the window and click OK. It will now be available as a Pre-Built Filter for subsequent components.

SSIS IP OutputFilter SaveRules.png

Remove Selected Rule

SSIS IP OutputFilter DeleteRule.png

SSIS IP OutputFilter RemoveRule.png

To remove a Pre-Built Filter, select the filter from the Pre-Built drop-down list, right-click the filter, and select Delete Filter. Click Yes. After saving this component, it will no longer be available in new component configurations.


Cateogry:SSIS