Suppose we have a (assume relational) source table
Product_Id Month Sales
1 Jan x
1 Feb x
. . .
. . .
1 Dec x
2 Jan x
2 Feb x
. . .
. . .
2 Dec x
3 Jan x
3 Feb x
. . .
. . .
3 Dec x
. . .
. . .
and so on. Assume that there could be any number
of product keys and for each product key the sales
figures (denoted by 'x' are stored for each of the
12 months from Jan to Dec). So we want the result
in the target table in the following form.
Product_id Jan Feb March.. Dec
1 x x x x
2 x x x x
3 x x x x
.
.
So how will you design the ETL mapping for this case ,
explain in temrs of transformations.
Answer Posted / janet
Simple SQL logic in the source qualifier sql will take care
of this issue.
Select product_id, month, sum(sales)
from source_table
group by product_id, month;
Then you can just pass the values straight through. No
need to split, aggregate, and join, etc.
Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What is the use of target designer?
Design a mapping to load a target table with the following values from the above source?
How can we handle two sessions in informatica?
Quickly characterize reusable change?
what is informatica metadata?
Suppose we configure sorter transformations in the master and detail pipelines with the following sorted ports in order: item_no, item_name, price. When we configure the join condition, what are the guidelines we need to follow to maintain the sort order?
in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use
-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?
How can you define user defied event?
What is domain in terms of informatica?
What is persistent lookup cache?
How can you validate all mappings in the repository simultaneously?
what is $$$$?
how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?
How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?