How to filter out rows with null values?

Various time ,we need to filter null values in informatica. We can remove them for further processing or other scenarios also . Check Informatica scenarios of filtering out rows with null values .

To filter our rows with null values , we can use it in Source qualifier’s over ride SQL or you can use  filter transformation in informatica.

Must check : Normalizer Transformation in informatica

To filter out rows containing null values or spaces, use the ISNULL and IS_SPACES functions to test the value of the port. For example, if we want to filter out rows that contain NULLs in the FIRST_NAME port, use the following condition:
IIF(ISNULL(FIRST_NAME),FALSE,TRUE)
This condition states that if the FIRST_NAME port is NULL, the return value is FALSE and the row should be discarded. Otherwise, the row passes through to the next transformation.

Must check : Lookup Transformation in informatica

Searches related to how to filter null values in informatica
informatica isnull filter condition
how to handle null values in informatica
informatica filter is not null
filter null values in sql
filter null values in sql server
powershell filter null values
qlikview filter null values
isnull in informatica syntax

Rank transformation in informatica

Rank Transformation in Informatica , is a connected and active /Passive transformation which select top/bottom rows of   input. It is something similar to Rank analytical data function or oracle. Only difference is that, it also filter out the remaining rows  (which are not a part of top/bottom threshold).

Must check : Please also check how to create Aggregator Transformation

How Rank Transformation works in Informatica?

It first cache all the input data and then performs the rank calculation per group , filter out the unwanted records.

 

Steps to create an Rank transformation:

  • In the Mapping Designer, open a Informatica Mapping.
  • Click Transformation > Create. Select Rank transformation.
  • Enter a name and click Done.
  • You will see one port RANKINDEX port already there. This port store the ranking of each   record  and can be used to populate target as well
  • Add all additional port from source input which  are going to be use in following transformation.
  • Open the port tab and first check the Group by option for desired column ( for example deptno in our case)
  • Also  check the Rank (R) option for the port which you want to do ranking. For example salary in our case.

Must Read : Lookup Transformation in informatica

Note: We can define Group by indicator for multiple port, but  Ranking can be done   on single port only.

  • Go to the properties tab, select the Top/Bottom value as Top and the Number of Ranks property as per need.
  • Click OK.
  • Connect output ports of Rank Transformation to other transformation or target

Must Read : Learn more about informatica coding standard

Example of Rank Transformation in Informatica:

A good example of Rank transformation with different type of join can be found here.

For more explanation on Rank transformation , you can read it here and also check here for informatica interview question on Rank transformation

Incoming Search Terms :-

rank transformation properties

rank transformation in informatica with example
rank transformation in informatica interview questions
how to implement rank transformation in informatica
rank transformation in informatica tutorial
rank transformation in informatica pdf
rank transformation in informatica ppt

 

 

Lookup Transformation in Informatica with Example

Lookup Transformation in Informatica , is a connected/Unconnected and Passive (post 9 Active and Passive transformationwhich let you look up data flat file/relation tables ,views or synonym.The Integration Service queries the lookup source based on the lookup ports in the transformation and a lookup condition. Lookup transformation returns the result of the lookup to the target or another transformation.

Informatica scenarios of Lookup Transformation

You can use lookup Transformation in mapping for below type of tasks:

  • Getting  related value:  Retrieve value from the lookup table based on a value in the source. For example, the source has an employee ID. Retrieve the employee name from the lookup table.
  • Perform a calculation: Retrieve a value from a lookup table and use it in a calculation. For example, retrieve  a sales tax percentage, calculate a tax, and return the tax to a target.
  • Update slowly changing dimension tables: Determine whether rows exist in a target  and accordingly you can create  a new record or update the existing one.

Types of Lookup Transformation in Informatica:

A. Based on the Source Type:

  • Flat File Lookup Transformation
  • Relational Lookup  Transformation

Check here for Relational vs flat file lookup transformation in informatica

B. Based on Connection Type:

connected Lookup transformation 

Unconnected Lookup Transformation

unconnected lookup transformation part 2

unconnected lookup transformation part 2

unconnected lookup transformation part 1
unconnected lookup transformation part 1

Check here for Difference between connected and unconnected lookup transformation

3. Based on Cached Type

  • Cached Lookup Transformation
  • UnCached Lookup Transformation

You can keep Lookup Transformation as uncached by unchecking the Cache option in properties tab.

Check here for Properties of lookup transformation in informatica

Example  of Lookup Transformation :

Check here for Connected lookup transformation in informatica

Check here for Unconnected lookup transformation in informatica

Incoming Search Terms :-

lookup transformation properties

lookup transformation in informatica with example
lookup transformation in informatica interview questions
how to implement lookup transformation in informatica
lookup transformation in informatica tutorial
lookup transformation in informatica pdf
dynamic lookup transformation in informatica
lookup transformation in informatica ppt

Normalizer Transformation in Informatica with Example

Normalizer Transformation in Informatica , is a connected and active transformation  which let you to normalize your data  by receiving a row with information scatter in multiple columns to multiple row a for each instance of column data.For example a student have score for each subject scattered in 5 columns ,with the help of normalizer transformation you can create multiple rows for each subject (Normalization of Database) .

Normalizer Transformation help in normalizing your data , making it for flexible by eliminating redundancy and inconsistent  dependency. It help you representing data in more better manner.

Is Normalizer Transformation Active or Passive ?

Normalizer Transformation is a Active  transformation as  it create multiple row for each input row.

Is Normalizer Transformation Connected or Unconnected ?

Normalizer Transformation is a Connected Transformation.
Check here for filter transformation example in informatica

How to use Normalizer transformation in Informatica:

Use the following procedure to create a Normalizer transformation in Informatica mapping.

Steps to create an Normalizer transformation

  • In the Mapping Designer, open a Mapping.
  • Click Transformation > Create. Select Normalizer transformation.
  • You can also select Transformation by clicking  function  button on Informatica Designer
  • Enter a name and click Done.
  • You can create ports in Normalizer transformation  by selecting and dragging it from input transformation to Normalizer transformation.You can manually create input ports on the Normalizer Ports tab by double clicking on it.
    Normalizer Transformation step 5
    Normalizer Transformation step 5
  • Click the Transformation tab and configure transformation properties. ( change Tracing Level as per your need)
  • Click OK.
  • Connect output ports of Normalizer Transformation to other transformation or target

Example  of Normalizer Transformation:

Check here for Normalizer transformation example in informatica

Incoming Search Terms

normalizer transformation in informatica example
what is the use of normalizer transformation in informatica
normalizer transformation in informatica scenarios
normalizer transformation example
normalizer transformation interview questions
normalizer transformation initialization error cannot match ofosid with ifotid
normalizer transformation in informatica youtube
normalizer transformation in informatica
normalizer transformation in informatica scenarios
normalizer transformation in informatica with examples
normalizer transformation in informatica pdf

Union Transformation in Informatica with Example

Union Transformation in Informatica , is a connected and active transformation which let you to merge data from multiple pipelines or pipeline branches into one pipeline branch. Union Transformation merges data of similar source  based on UNION ALL SQL statement.

Business scenarios of Union Transformation in Informatica

As name predict , Union transformation is used to merge data from multiple pipelines into single one.

Is Union Transformation Active or Passive ?

Union Transformation is a Active  transformation as  it combines two or more data streams into one. Although no of rows from multiple input and Output is same, but order in which these row are coming to output can change.

Is Union Transformation Connected or Unconnected ?

Union Transformation is a Connected Transformation.

How Union Transformation work ?

The Integration Service processes all input groups in parallel. It  reads sources connected to the Union transformation and pushes blocks of data into the input groups of the transformation. The Union transformation processes the blocks of data based on the order it receives the blocks from the Integration Service irrespective.

Configuring Union Transformation Properties:

Modify the Union Transformation properties by clicking on the Properties tab.

Check here for filter transformation example in informatica

How to use Union transformation in Informatica:

Use the following procedure to create an Union transformation in Informatica mapping.

Steps to create an Union transformation:

  • In the Mapping Designer, open a Mapping.
  • Click Transformation > Create. Select Union transformation.
  • You can also select Transformation by clicking  function  button on Informatica Designer
  • Enter a name and click Done.
  • You can create ports in Union transformation  by selecting and dragging it from input transformation to Union transformation.You can manually create input ports on the Group Ports tab by double clicking on it.
    Union Transformation step 3
    Union Transformation step 3
  • Double-click the title bar of the Union transformation to open the transformation
  • Click the Groups tab, and then click the Add button to create a user-defined group.The Designer assigns a default name for each group but they can be renamed
  • Click the Transformation tab and configure transformation properties. ( change Tracing Level as per your need)
  • Click OK.
  • Connect group output ports of Union Transformation to other transformation or target

Example of Union Transformation:

Check here for Union transformation example in informatica

Incoming search Terms :

union transformation in informatica is union all
union transformation in informatica interview questions
how to use union transformation in informatica
union transformation in informatica is active or passive
union transformation in informatica video
union transformation in informatica scenarios
union transformation in informatica active or passive
union transformation active or passive
union transformation interview questions
union transformation in informatica interview questions
union transformation in informatica example

example of union transformation in informatica
union transformation properties in informatica
union transformation in informatica is union all

Router Transformation in Informatica with Example

Router Transformation in Informatica , is a connected and active transformation which let you to transfer data to multiple target depending upon the different condition. A Filter transformation rejects the row which don’t satisfy its condition whereas Router Transformation allows you to pass the failed data to some default target as well.

Router Transformation informatica
Router Transformation informatica

Business scenarios of Router Transformation

Unlike Filter Transformation , Router Transformation provide you the flexibility of populating multiple target depending upon the different type of conditions. It also allow you to add multiple condition for each target .Failed records can also be extracted from the default group.

Is Router Transformation Active or Passive ?

Router Transformation in Informatica is an active transformation a its Routes data into multiple groups based on group conditions

Is Router Transformation Connected or Unconnected ?

Router Transformation is a Connected Transformation.

How to use Router transformation in Informatica

Use the following procedure to create an Router transformation in Informatica mapping.

Steps to create an Router transformation:

  • In the Mapping Designer, open a Mapping.
  • Click Transformation > Create. Select Router transformation.
  • You can also select Transformation by clicking  function  button on Informatica Designer
  • Enter a name and click Done.
  • You can create ports in Router transformation  by selecting and dragging it from input transformation to router transformation.You can manually create input ports on the Ports tab by double clicking on it.
  • Double-click the title bar of the Router to open the transformation
  • Click the Groups tab, and then click the Add button to create a user-defined group.
  • To add Group
    • Click the Groups tab.
    • Click the Add button.
    • Enter a name for the new group in the Group Name section.
    • Click the Group Filter Condition field and open the Expression Editor.
    • Enter the group filter condition.
    • Click Validate to check the syntax of the condition.
    • Click OK.
  • Router Transformation step 4
    Router Transformation step 4
  • The Designer creates the default group when you create the first user-defined group
  • Click the Transformation tab and configure transformation properties. ( change Tracing Level as per your need)
  • Click OK.
  • Connect group output ports of router to other transformations or targets

Note: After you make the transformation reusable, you cannot copy ports from the source qualifier or other transformations. You can create ports manually within the transformation.

Example  of Router Transformation

Check example of Router Transformation in informatica

Incoming Search Terms :

rank transformation in informatica
rank transformation in informatica with example
rank transformation example in informatica
how to add rank transformation in informatica mapping
rank transformation groups
example of rank transformation in informatica
router transformation in informatica interview questions
default group in router transformation in informatica
router transformation in informatica is active or passive

Joiner Transformation in Informatica with example

Joiner Transformation in Informatica , is a connected and active transformation  which let you join data from two heterogeneous source (same source system or different source system). The Joiner transformation joins sources  with at least one matching column.

Joiner Transformation in Informatica
Joiner Transformation in Informatica

Business Scenarios of Joiner Transformation

As the name predict itself , the Joiner transformation is use to join data from two heterogeneous sources or data from the same source. The Joiner transformation uses a condition that matches one or more pairs of columns between the two sources. Out of two input , one is consider as master pipeline ( it is loaded first in the data cache) , then the other one is Detail pipeline which is joined with the Master data.

Is Joiner Transformation Active or Passive ?

Joiner Transformation is an active transformation as no of output rows changes  based on join condition and join type

Is Joiner Transformation Connected or Unconnected

Joiner Transformation is a Connected Transformation.

Properties of Joiner Transformation in Informatica

Must read :

Joiner vs union transformation in informatica

Components of Joiner Transformation in Informatica

  • Joiner data cache :  Joiner always caches the MASTER table. We cannot disable caching. It builds Index cache and Data Cache based on MASTER table.
  • Join Type in informatica :  With the help of Join Type , we can control the output of the join condition. We will discuss it in more detail.
  • Master/Detail source port :  While adding source ports into joiner , we need to defined master and detail source by clicking on the  Master check box. To make one source as master , we can check any port of the source on the “M” check box, it will automatically mark the check for remaining port as well
  • Sorted input in joiner transformation :  Select this option to improve session performance. To use sorted input, you must pass data to the Joiner transformation sorted by joining port, in ascending or descending order.

You can configure the Joiner transformation components and options on the Properties and Ports tab.

Join Type of Joiner Transformation

Normal Join in joiner transformation
A normal join will allow only those records which satisfy the joiner condition for both sources. So remaining records, who don’t match the condition get discarded

Master Outer Join  in joiner transformation
A master outer join will keeps all rows of data from the detail source and the matching rows from the master source. If any of master records don’t satisfy the condition , those rows get discarded.

Detail Outer Join  in joiner transformation
Just opposite to Master Outer join , it keep all rows of data from Master Source and the matching rows from Details Source. If  any of detail records don’t satisfy the condition , those rows get discarded.

Full Outer Join  in joiner transformation
A full outer join keeps all rows of data from both the master and detail sources.
Must Read : Learn more about Expression Transformation

How to use Joiner transformation in Informatica ?

Use the following procedure to create an Joiner transformation in Informatica mapping.

Steps to create an Joiner transformation:

  1. In the Mapping Designer, open a Informatica Mapping.
  2. Click Transformation > Create. Select Joiner transformation.

    You can also select Transformation by clicking  function  button on Informatica Designer

  3. Enter a name and click Done.
  4. Drag all the input/output ports from the first source into the Joiner transformation. The Designer creates input/output ports for the source fields in the Joiner transformation as detail fields by default. You can edit this property later .
  5. Select and drag all the input/output ports from the second source into the Joiner
    transformation.The Designer configures the second set of source fields and master fields by default.
  6. Double-click the title bar of the Joiner transformation to open the transformation
  7. Click any box in the M column to switch the master/detail relationship for the sources.
  8. Tip: To improve performance for an unsorted Joiner transformation, use the source with fewer rows as the master source. To improve performance for a sorted Joiner transformation, use the source with fewer duplicate key values as the master.
  9. Click the Add button to add a condition. You can add multiple conditions. The master and detail ports must have matching datatypes.
    Joiner transformation only supports equivalent (=) joins.

  10. Click the Properties tab and configure properties for the transformation (as Mentioned above)
  11. Connect the output ports to a downstream transformation or target.

Example  of Joiner Transformation:

Check  example of Joiner Transformation in informatica

Incoming Search Terms :-
joiner transformation in informatica interview questions
joiner transformation informatica
joiner transformation performance tuning
joiner transformation example
joiner transformation in informatica example
joiner transformation scenarios in informatica
joiner transformation input is not sorted
joiner transformation in informatica master and detail

Aggregator Transformation in Informatica

Aggregator Transformation in Informatica , is a connected Active transformation which let you performs aggregate calculations, such as averages and sums on the group of data. Aggregator transformation is differ from Expression transformation , as  you use Aggregator  transformation to perform calculations on groups .  The Expression transformation permits you to perform calculations on a row-by-row basis only.

Aggregator Transformation image
Aggregator Transformation in informatica

Aggregator transformation in informatica scenarios
The Aggregator transformation is use to perform aggregate calculations for each data. Data can be modified using built-in functions . Sample calculation peformed by the Aggregate transformer are :

  • AVG, COUNT, MAX, MIN, SUM
  • FIRST, LAST
  • MEDIAN, PERCENTILE, STDDEV, VARIANCE

Is Aggregator Transformation Active or Passive ?

Aggregator Transformation is a Active  transformation as  it also enable you to use conditional clauses to filter rows.

Is Aggregator Transformation Connected or Unconnected ?

Aggregator Transformation is a connected Transformation.

Components of Aggregator Transformation:

  • Aggregate cache:  The Integration Service stores data in the aggregate cache until it completes aggregate calculations. It stores group values in an index cache and row data in the data cache.
  • Aggregate expression:  Enter an expression in an output port. The expression can include non-aggregate expressions and conditional clauses.
  • Group by port:  Indicate how to create groups. The port can be any input, input/output, output, or variable port. When grouping data, the Aggregator transformation outputs the last row of each group unless otherwise specified.
  • Sorted input:  Select this option to improve session performance. To use sorted input, you must pass data to the Aggregator transformation sorted by group by port, in ascending or descending order.

You can configure the Aggregator transformation components and options on the Properties and Ports tab.

Configuring Aggregator Transformation Ports:

You can configure the following components on the ports tab

  • Port name:  Add the name of the port.
  • Datatype, precision, and scale:  Configure the datatype and set the precision and scale for each port.
  • Port type : A port can be input, output, input/output, or variable. The input ports receive data and output ports pass data. The output ports can pass aggregated data (use Aggregate function in Expression ). Variable ports store data temporarily and can store values across the rows.
  • Expression:  Use the Expression Editor to enter expressions. Expressions use the transformation language, which includes SQL-like functions, to perform calculations. Example ( sum , Max,average)
  • GroupBy:  Indicate how to create groups. The port can be any input, input/output, output, or variable port. When grouping data, the Aggregator transformation outputs the last row of each group unless otherwise specified

Check here for expression transformation in informatica

Steps to create an Aggregator transformation

  • In the Mapping Designer, open a Mapping.
  • Click Transformation > Create. Select Aggregator transformation.
  • You can also select Transformation by clicking  function  button on Informatica Designer
  • Enter a name and click Done.
  • Select and drag the ports from the source qualifier or other transformations to add to the Aggregate  transformation. You can also open the transformation and create ports manually.
  • Double-click on the title bar and click on Ports tab. You can create output and variable ports within the transformation.
  • Select the Ports tab.
  • Aggregator Transformation Step 6
    Aggregator Transformation Step 4

    Click the group by option for each column you want the Aggregator to use in creating groups. Optionally, enter a default value to replace null groups.

  • Click Add to add an expression port. The expression port must be an output port. Make the port an output port by clearing Input (I).
  • Optionally, add default values for specific ports.If the target database does not handle null values and certain ports are likely to contain null values, specify a default value.

    Aggregator Transformation Step 5
    Aggregator Transformation Step 5
  • Configure properties on the Properties tab.

    Aggregator Transformation Step 6
    Aggregator Transformation Step 6
  • To enhance the performance of Aggregator , it is recommended to provide Sorted Data to it (Via SQ query or  by adding Sorter Transformation before it)
  • In case Sorted Input data is coming to Aggregator, check the “Sorted Input” option under the properties Tab.
  • Click OK.
  • Connect the output ports to a downstream transformation or target.

Example of Aggregator Transformation:

Check here for Example of Aggregator transformation in informatica

Incoming Search terms :

Expression Transformation in Informatica with Example

Expression Transformation in Informatica , is a connected  and passive transformation (number of input and output rows is the same), which let you modify individual ports of a single row , or add or suppress them. For example: calculating annual Salary, concatenation. In below article we will go through the properties of Expression Transformation.

Check here for filter transformation example in informatica

Scenarios of Expression Transformation in informatica

The Expression transformation in informatica is use to perform non-aggregate calculations for each data. Data can be modified using logical and numeric operators or built-in functions . Sample transformations handled by the expression transformer are :

  • Data Manipulation : concatenation( CONCAT or || ) , Case change (UPPER,LOWER) truncation, InitCap (INITCAP)
  • Datatype conversion :  (TO_DECIMAL, TO_CHAR, TO_DATE)
  • Data cleansing – check nulls (ISNULL) , replace chars, test for spaces (REPLACESTR) , test for number

Is Expression Transformation Active or Passive ?

Expression Transformation is a Passive transformation as it only modifies the incoming port data , but it does’n effect the number of rows processed.

Is Expression Transformation Connected or Unconnected ?

Expression Transformation is a Connected Transformation.

How to use Expression transformation in Informatica

Use the following procedure to create an Expression transformation.

Steps to create an Expression transformation:

  1. In the Mapping Designer, open a Mapping.
  2. Click Transformation > Create. Select Expression transformation.
  3. You can also select Transformation by clicking  function  button on Informatica Designer
  4. Enter a name and click Done.
  5. Select and drag the ports from the source qualifier or other transformations to add to the Expression transformation. You can also open the transformation and create ports manually.
  6. Double-click on the title bar and click on Ports tab. You can create output and variable ports within the transformation.
  7. In the Expression section of an output or variable port, open the Expression Editor.
  8. Enter an expression. Click Validate to verify the expression syntax.
  9. Click OK.
  10. Assign the port datatype, precision, and scale to match the expression return value.
  11. To make it reusable ,check the reusable  option in the edit properties.
  12. Configure the tracing level on the Properties tab.
  13. Click OK.
  14. Connect the output ports to a downstream transformation or target.

After you make the transformation reusable, you cannot copy ports from the source qualifier or other transformations. You can create ports manually within the transformation

Expression Transformation Components or Tabs

An Expression transformation contains the following tabs:

  • Transformation:  Enter the name and description of the transformation. The naming convention for an Expression transformation is EXP_TransformationName. You can also make the transformation reusable.
  • Ports: Create  port and  configure them.
  • Properties: Configure the tracing level to determine the amount of transaction detail reported in the session log file.
  • Metadata Extensions:  Specify the extension name, datatype, precision, and value. You can also create  reusable metadata extensions.

Configuring Ports:
You can configure the following components on the ports tab

  • Port name:  Add the name of the port.
  • Datatype, precision, and scale:  Configure the datatype and set the precision and scale for each port.
  • Port type : A port can be input, output, input/output, or variable. The input ports receive data and output ports pass data. The input/output ports pass data unchanged. Variable ports store data temporarily and can store values across the rows.
  • Expression:  Use the Expression Editor to enter expressions. Expressions use the transformation language, which includes SQL-like functions, to perform calculations.
  • Default values and description:  Set default value for ports and add description

Check here example of Expression Transformation

For more details check below

Informatica expression transformation

Example of expression transformation in informatica

Informatica performance tuning for expression transformation

Incoming search terms :

expression transformation
Informatica expression transformation
Expression transformation in informatica
Expression transformation in informatica with example
example of expression transformation
How to add expression transformation in informatica mapping

How to use expression transformation in informatica mapping

FILTER TRANSFORMATION IN INFORMATICA

Filter Transformation:

Filter Transformation is one of the most used transformation in Informatica which basically filter out the unwanted records from input data stream.

Properties of  Filter Transformation:

  • It is an active transformation as it changes the no of rows passing through it
  • It is a connected Transformation
  • It is filter out those records which does’n satisfy its condition.

Must Read : You can check one good example of filter transformation in informatica

How to use Filter Informatica Transformation :

  • Filter Transformation can be added to the current by clicking on Transformation – > Create
  • Selecting the Filter Transformation and the create
  • Then we need to give some name , add the required input/output ports.
  • In the property  tab , we need to add the filter condition

filter-transformation-part4-300x272Filter Transformation

Note : Please note that  for one filter  we can generate only one type of target . To connect to multiple target with multiple condition we need to use Router Transformation

Must Read : You can check one good  article on Informatica Architecture

Performance Tuning Guidelines filter transformation :

  • Use filter closer to source to prevent the processing of unwanted records downstream .
  • If possible include these filter condition at source qualifier itself  ( in relation DB)

Creating Informatica Mapping:

  1. Open folder where we want to create the mapping.
  2. Click Tools -> Mapping Designer.
  3. Click Mapping -> Create -> Give mapping name. Ex: m_filter_example
  4. Drag EMP from source in mapping.
  5. Click Transformation -> Create -> Select Filter from list. Give name and click  Create. Now click done.
  6. Pass ports from SQ_EMP to Filter Transformation.
  7. Edit Filter Transformation. Go to Properties Tab
  8. Click the Value section of the Filter condition, and then click the Open button.
  9. The Expression Editor appears.
  10. Enter the filter condition you want to apply.
  11. Click Validate to check the syntax of the conditions you entered.
  12. Click OK -> Click Apply -> Click Ok.
  13. Now connect the ports from Filter to target table.
  14. Click Mapping -> Validate
  15. Repository -> Save

Incoming searching terms :- 

filter transformation scenarios in informatica
filter transformation example in informatica
filter transformation scenarios
filter transformation informatica
filter transformation in ssis
filter transformation in informatica youtube
filter transformation interview questions answers

You can contact us by putting below contact form