Percent to Total

G

gholly

hi! ...need help desperately. i am trying to enter a calculation which would
essentially be "% to Total". I used =[Units]/Sum([Units]) The problem though
that I'm having is the it is using the Sum of the total units from the whole
report, and not just for that "group" or actually "year". basically, is there
some sort of expression where I can say units divided by sum of units for the
same year? i'm not sure if this makes sense, or if you need more details on
my data. I hope someone is there to help me! Thank you in advance!!!
 
M

Marshall Barton

gholly said:
hi! ...need help desperately. i am trying to enter a calculation which would
essentially be "% to Total". I used =[Units]/Sum([Units]) The problem though
that I'm having is the it is using the Sum of the total units from the whole
report, and not just for that "group" or actually "year". basically, is there
some sort of expression where I can say units divided by sum of units for the
same year?


Use a text box (named txtGrpUnits) in the year group's
header section with the expression =Sum([Units])

Then the detail text box can use the the expression:
=[Units] / txtGrpUnits
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top