RichardMGreen
Well-known Member
- Joined
- Feb 20, 2006
- Messages
- 2,177
Hi all
I have a query which produces values for each entry in the table. For Example
What I would like to do is to add a third column which would give me a percantage of total. Therefore the table becomes:-
I've tried using Expr1/sum(Expr1) but it gives me 100% for each line.
Anyone any ideas?
I have a query which produces values for each entry in the table. For Example
Code:
Line1 10
Line2 12
Line3 17
Line4 7
What I would like to do is to add a third column which would give me a percantage of total. Therefore the table becomes:-
Code:
Line1 10 0.21
Line2 12 0.26
Line3 17 0.37
Line4 7 0.15
I've tried using Expr1/sum(Expr1) but it gives me 100% for each line.
Anyone any ideas?