G
Guest
I can get Access to tell me how big the whole pie is, but how do I get it to
tell me what percent of the whole thing each piece represents?
My table has the details of all the individual open invoices from our
vendors. My query summarizes the total amount owed to each vendor. I can
arrange these in decending order to see who we owe the most to, but I want to
add a calculation that shows me what percentage of the total pie that vendor
represents, either within this query or in a second one that uses this first
one as a starting point. To make things even more convoluted, assuming I can
do this percentage, I'd like to see it a second way. I'd like to see them
accumulate, too.
For example, we owe Vendor A $250, Vendor B $150 and Vendor C $100. That's
$500 total. I'd like a query to tell me that 50% of our accounts payable is
owed to A, 30% is owed to B, and 20% is owed to C. Further, I'd like it to
also show me that while just A is 50% of our liability, A&B together
represents 80%, and A,B&C are 100% of our open invoices.
One further limitation -- I don't use VBA very well. I prefer to put
everything into the expression builder. Thank you!
tell me what percent of the whole thing each piece represents?
My table has the details of all the individual open invoices from our
vendors. My query summarizes the total amount owed to each vendor. I can
arrange these in decending order to see who we owe the most to, but I want to
add a calculation that shows me what percentage of the total pie that vendor
represents, either within this query or in a second one that uses this first
one as a starting point. To make things even more convoluted, assuming I can
do this percentage, I'd like to see it a second way. I'd like to see them
accumulate, too.
For example, we owe Vendor A $250, Vendor B $150 and Vendor C $100. That's
$500 total. I'd like a query to tell me that 50% of our accounts payable is
owed to A, 30% is owed to B, and 20% is owed to C. Further, I'd like it to
also show me that while just A is 50% of our liability, A&B together
represents 80%, and A,B&C are 100% of our open invoices.
One further limitation -- I don't use VBA very well. I prefer to put
everything into the expression builder. Thank you!