How to Display top 2 salaries for each department WITHOUT
using Rank Transformation And WITHOUT using SQL queries in
source qualifier.
Answers were Sorted based on User's Feedback
Answer / harish konda
connect the Source to sorter and sort the data in Descending
order of salary, department and connect to expression and in
expression generate the sequence of numbers(for eg a port
flag) in such a way that whenever salary changes number
increment to 1, and keep in mind whenever department changes
the numbering should start from 1. And next connect the exp
to Filter and give condition as flag<=2.
| Is This Answer Correct ? | 18 Yes | 2 No |
Answer / ahmed
Use Sorter transformation,apply sort key on sal Col as Desc
and use seq Gen transformation then apply filter on first
two seq numbers...
| Is This Answer Correct ? | 9 Yes | 13 No |
Answer / dave
Use Aggregator as Transformation with MAX and 2 outputs
| Is This Answer Correct ? | 0 Yes | 10 No |
What is the function of union transformation?
Input is like 1 1 1 2 2 3 and out put should be 1 2 3 How can u acheive using rank transformation ??
Hi All can anyone tell me where i will get Informatica training in Mumbai?
What are the hard ware required for a normal sized data warehouse? and What are the software required for a normal kind of data warehouse?
Can we insert and update a target table without using update strategy transformation?How?
What is parallel processing in informatica?
How to go to the older version for a mapping?
How do you join more than 3 flat files in informatica?
What are the new features of informatica 9.x at the developer level?
i have flatfile source. i want to load the maximum salary of each deptno into target. what isthe mapping flow
What will happen when Mapping variable and Mapping parameter is not defined or given? Where do you use mapping variable and mapping parameter?
Without source how to insert record to target?