on 07-14-2008 7:53 PM
I have a query where I need to multiply the average of col 1 with the sum of col 2 to get col 3.
That is, Col 1 Result is average of all values (say 205), col 2 result is sum of all values (say 140), I want col 3 result to be a product of those 2 values, that is 205 X 140. Looks like this is not possible using exception aggregation. Any ideas on how to do this?
Hi Uday,
Is the intention to do this for all values or only for results?
If this is only for results then we can use the calculation feature of the col 1 to force this to avg and then col 2 as summation.
Define a formula col 3 and define this as col1 times col 2.
Naveen.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is for the results row only. What you said will not work. Because in col C, no matter what i do with the other columns, it's always doing
for after aggregation - (sum of col 1) X (sum of col 2).
for before aggregation - sum of (col 1 X col 2)
It's never doing (avg of col 1) X (sum of col 2) even though my result for col 1 is avg.
Can you not create a formula (local ot otherwise) to calculate that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.