my sourse is like id name sal--1 aa 1000 ,2 bb 2000, 3 cc 3000
4 dd 4000, 5 ee 6000 , 6 ff 7000 and so on but myrequirement
is like this id name sal up_sal,1 aa 1000 null,2 bb 2000
1000, 3 cc 3000 2000
4 dd 4000 3000, 5 ee 5000 4000 , 6 ff 6000 50000 and so on

so how can i get it plez reply for this as soon as possible
, thanks in advanced

Answer Posted / swapnil

use CUMM(sal) function in expression like this:
id(i/o)
sal(i/o)
cum_sal(v)= cumm(sal)
up_sal= iif(sal=cumm_sal, NULL, cumm_sal)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about cumulative Sum or moving sum?

618


If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me

1549


What if the source is a flat-file?

586


Different qualification between a related rotate toward the sky and isolates look upward?

549


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

596






lookup transformation with screenshots

3555


Why update strategy and union transformations are active? Explain with examples.

705


Hi, I saw one mapping implemented by my seniors . In Expression transformation they implemented following logic. That is iif(is_date(in_UC_DATINV,'YYYYMMDD'),to_date(in_UC_DATINV,'Y YYYMMDD'),'Inventory Date is either invalid or null') Inventory_Date is validated only for is_date() But not validated for notisnull() . But error says “ either invalid or null “ why? Whether is_date() also check for not isnull() ? or in this logic something is different ? Please answer me . Advance thanks

1407


What is joiner transformation in informatica?

623


Explain what are the different types of transformation available in informatica.

567


What is flashback table ? Advance thanks

1478


What is Data Caches size?

652


Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance

1590


Write the unconnected lookup syntax?

654


what are the different types of transformation available in informatica. And what are the mostly used ones among them?

535