0% found this document useful (0 votes)
72 views2 pages

Name of Solution:: Please Rate This Solution and Share Your Feedback On Website

This document provides a solution for aggregating data using expressions instead of an aggregator transformation in Informatica PowerCenter. It includes a mapping template that sums revenue by month and year using expression transformations and variables rather than an aggregator. Steps are provided to import the workflow and mapping, configure the necessary objects, and execute the workflow to observe the results in the target tables.

Uploaded by

Cata Parvu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views2 pages

Name of Solution:: Please Rate This Solution and Share Your Feedback On Website

This document provides a solution for aggregating data using expressions instead of an aggregator transformation in Informatica PowerCenter. It includes a mapping template that sums revenue by month and year using expression transformations and variables rather than an aggregator. Steps are provided to import the workflow and mapping, configure the necessary objects, and execute the workflow to observe the results in the target tables.

Uploaded by

Cata Parvu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name of Solution:

Mapping: Aggregation using Expression

Business Requirement:
Mapping example to implement aggregation using expression transformation (and without using aggregation transformation)

Solution URL:
https://community.informatica.com/solutions/1633

Supported Versions:
PowerCenter 9.1 and 9.5

Description:
As a potential method of enhancing performance, this mapping uses PowerCenter Expression Transformation objects to aggregate data rather than using an Aggregator Transformation object. When you must aggregate records (sum, count, find the min or max values within a data set, etc.) within your mapping, PowerCenter provides for the use of an Aggregator Transformation object to do the aggregation. Using an Aggregator object, however, can sometimes use up significant server resources in order to actually perform the aggregations and calculations. This is due partly to the fact that Aggregators must first cache records in memory and then perform functions and calculations. One method of calculating aggregations without using an Aggregator Transformation object is to use an Expression Transformation in conjunction with variable logic to perform the calculation. An Expression Transformation does not cache records in memory, and therefore it can sometimes be more efficient than using an Aggregator. This mapping template illustrates a method of using an Expression object with variables to perform aggregations. Implementation Guidelines: This template demonstrates reading from two source tables (ORDERS, ORDER_ITEMS), and calculates the sum of the total revenue (Price * Quantity) based off of the month and year in the DATE_ENTERED column. Therefore, we are trying to sum the revenue while grouping off of the month and year.

Please rate this solution and share your feedback on Marketplace Website.

Download file contents:


1. Workflow 2. Script 3. Document

Steps to implement the solution:


1. Execute the script in database to create source tables, target table and test data. 2. Import workflow using Repository Manager. Select the appropriate folder from repository and resolve the conflicts by choosing suitable option. 3. Open mapping in PowerCenter Designer, go through the document for details. 4. Open the workflow in Workflow Manager. Assign the integration service in Workflow > Edit -> Integration Service 5. Edit session and assign valid connection object for the source and target. 6. For more details for importing object please visit our YouTube link. 7. Execute the workflow and observe the target files.

YouTube Video on Importing and Configuring Workflows:


http://www.youtube.com/playlist?list=PLLRreK2jjjgWBQ4NPfp0QWTxYDvlnEqSJ

Other Useful links:


Bundle : Useful PowerCenter Script files Bundle : Advanced Workflow Techniques Bundle : PowerCenter Mapping Templates Bundle : Informatica Debugging Tools Bundle : Informatica Productivity Tools

Please rate this solution and share your feedback on Marketplace Website.

You might also like