Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have source like this
year account month amount
----- --------- ------ --------
1999 salaries jan 9600
1999 salaries feb 2000
1999 salaries mar 2500
2001 benfits jan 3000
2001 benfits feb 3500
2001 benfits mar 4000
-->i need target like this
year account month1 month2 month3
----- --------- -------- -------- --------
1999 salaries 9600 2000 2500
2001 benfits 3000 3500 4000

Answer Posted / soumen

Use following method --

sq_source --> exp_tans --> agg_trans --> target

exp_trans --> add 3 variable --
v_month1 == iif(month='jan', amount, 0)
v_month2 == iif(month='feb', amount, 0)
v_month3 == iif(month='mar', amount, 0)

agg_trans --> add 5 cols from exp_trans --
year(check group by), account(check group by), v_month1,
v_month2, v_month2

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the format of informatica objects in a repository?

973


What is informatica?

1077


How to create or import flat file definition in to the warehouse designer?

1021


What is the commit type if you have a transaction control transformation in the mapping?

969


What is the function of look up transformation?

1054


What is event and what are the tasks related to it?

1054


Which transformation should we use to normalise the COBOL and relational sources?

1141


Suppose we do not group by on any ports of the aggregator what will be the output?

982


How many numbers of sessions can one group in batches?

1013


How to partition the Session?

1041


How to join three sources using joiner? Explain though mapping flow.

1090


What is a sequence generator transformation?

951


source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.

2677


What do you mean by filter transformation?

903


Scheduling properties,whats the default (sequential)

1891