You are on page 1of 5

FILTER TRANSFORMATION

It is use to filter out the unwanted records from the


incoming data in a mapping. We connect all the
required port from incoming data and add required
condition in filter and link the output port of filter
transformation with the following transformations (or
Target Definitions).
Business Purpose:
A business may chose not to process records which do
not meet a data quality criterion, such as containing a
null value in a field which may cause a target
constraint violation or eliminate from the process date
field values which will not provide useful data

Filter Transformation is an active transformation as it is


changing the no of output row (by keeping only those
which meets the filter condition)
CONNECTED

Filter Transformation examples

1. Create a mapping to load the employees from department 50 into the


target?
department_id=50

2. Create a mapping to load the employees whose salary is in the range of


10000 to 50000?
salary >=10000 AND salary <= 50000

3. Create a mapping to load the employees who earn commission


(commission should not be null)?
IIF(ISNULL(commission),FALSE,TRUE)

EXAMPLE:
Create a mapping to load the target table with Dept1 records only.

Please check the attached doc for a better idea about


FILTER transformation
Sample mapping
doc.docx

You might also like