GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Informatica

 Print  |  
Question:  Calculate max value of a column

Answer: How to calculate max value of a column without using aggregrator transformation?


September 09, 2008 07:49:26 #3
 jryan999   Member Since: April 2008    Total Comments: 14 

RE: Calculate max value of a column
 
You need to feed your ports through an Aggregator Tranformation.  eg.

Input  = salary.  Not output
Output = maximum_salary --> max(salary) - Output

Connect the maximum_salary fields to the output to use it
Define other keys as "Group by" as needed.

You cannot use max(salary) function in expression - it only works on a single row
     

 

Back To Question