gagnonconsulting
New member
- Local time
- Today, 09:58
- Joined
- Oct 24, 2008
- Messages
- 7
I have built a report that shows 2 rows of sales data from each of a bunch of store locations. My table has the date, the location and the sales_amount. I grouped my query on locations. The resulting rows include a date and the sales_amount, and I have been able to get the sales_amount for a requested date (through a parameter query) and the sales_amount from the same week in the previous year, and this is shown correctly for each location. But I now need to be able to show the $ change in sales_amount and the percent change in sales_amount for each location. This means that I somehow need to access data from (both of) the grouped rows and calculate and display the results. How do I access data from multiple rows? Do I have to create the report manually using VBA, and if so, any examples out there?
Thanks in advance
Thanks in advance