how to get max count of 3 columns
Posted: Wed Dec 28, 2011 3:29 pm
Hi,
Im extracting A,B,C columns from dataset. All the three columns have values which occur more than once. So I need to populate the column A only for the maximum occurence of B and maximum occurence of C. I have used aggregator to get the count. But the count can be done for only one column. If there any other way ?
Example
A B C
1 1 2
1 1 1
1 1 2
Result : A B C
1 1 2
Im extracting A,B,C columns from dataset. All the three columns have values which occur more than once. So I need to populate the column A only for the maximum occurence of B and maximum occurence of C. I have used aggregator to get the count. But the count can be done for only one column. If there any other way ?
Example
A B C
1 1 2
1 1 1
1 1 2
Result : A B C
1 1 2