Issues With Reporting

Hayesc

New Member
Joined
Sep 20, 2011
Messages
3
I'm creating a database to track call drivers or reasons for customers calling in. All of this information is selected via combo boxes and stored in a table. I have a query to pull the data and a form that lets you select date parameters to filter the time you want the query to pull. Here is the problem I have a report that displays the count and percentage of the data selected from the query, but I also need to display and calculate data from the week before the time selected and also what the percentage the call driver is YTD. Does anyone have suggestions on how I could do this?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I normally handle this with sub reports for the different time periods.

If it must be in a single query result then use I use multiple queries and/or sub queries.

To give you specificss on how to do it with your database we will need to know the table structures.
 
Upvote 0
I have a 2 tables one that lists category and the other the sub category that populate into the combo boxes. The options that are selected are on a form that stores data into an entry table. The query associated with the report pulls it's data from this table. I hope that helps if not I can always try linking the database to my next post.
 
Upvote 0
The simplest way will probably be to start out making separate saved queries for the different time periods.

You may be able to make an additional query that uses the other queries as the data source (like tables) and join the data together

Or you could use a sub report for each time period.
 
Upvote 0
I tried linking the 3 seperate queries together via 1 query and got the erroe message category could mean one then more thing in the table. If I did run it via a subquery how would I get it to display on the report?
 
Upvote 0
I tried linking the 3 seperate queries together via 1 query and got the erroe message category could mean one then more thing in the table.

I don't understand what this means.

As you saying that main table is using the same look up table with multiple fields? Is this is true then this is an indication of repeating fields. Repeating fields are a red flag for design issues that violates the rules of data normalization.
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top