Does anybody know how to calculate a percentage based of another field in a query?
Essentially what I have is 100 rows of data with different dollar amounts. I want to divide each rows dollar amount by the sum of all the rows and multiply that by 100 to get the percentage for each row.
Ex.
100
200
300
350
250
400
Total = 1600
So, 100/1600 = .0625 * 100 = 6.25%
I want my field to show the result of 6.25%, but I'm not sure how to calculate it. Any ideas?
Thanks in advance!
Essentially what I have is 100 rows of data with different dollar amounts. I want to divide each rows dollar amount by the sum of all the rows and multiply that by 100 to get the percentage for each row.
Ex.
100
200
300
350
250
400
Total = 1600
So, 100/1600 = .0625 * 100 = 6.25%
I want my field to show the result of 6.25%, but I'm not sure how to calculate it. Any ideas?
Thanks in advance!