Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sales Report line percentage of total sales

Status
Not open for further replies.

Dbless

IS-IT--Management
May 8, 2002
22
US
Trying to write a sales report where each sales rep has a total line on the report. On each total line I need to add the percentage of total sales for that sales rep compared to the entire report total sales. How would I accomplish this?

Pre-thanks to anyone
 
Here's what you can try.
1. Create a Group Header for your Sales Reps
2. In the Group Footer add an unbound textbox, I'll call txtSubTotal,with the control source set to
=Sum([Sales])
3. In the Report Footer, add an unbound textbox, I'll call txtTotal, with the Control Source set to
=Sum([Sales])
4. In the Group Footer add another unbound textbox with the control source set to
=txtSubTotal/txtTotal
Set the Format to Percentage.
That should do it.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top