I am currently fighting to create a report and cannot seem to generate what I'm looking for. I'm hoping for some ideas or input.
The report is of the reasons why a customer called and the corresponding resolution to the call by day with a MTD total. This sounds easy enough, but the layout the customer is requesting is what makes it difficult. They would like to see a list of ALL reasons with a list of ALL resolutions below each reason, regardless of whether a call for that reason &/or resolution was logged.
The report would look like this:
Total Calls/Day Total Calls MTD
Reason #1
Resolution #1
Resolution #2
Resolution #3
Resolution #4
Reason #2
Resolution #1
Resolution #2
Resolution #3
Resolution #4
And so on. The resolution descriptions are the same for every reason.
So far I have a main report that displays the reason descriptions (from one table) as Group #1 and the resolution descriptions (from another table) as Group #2. Joined by a customer id field.
I then created a sub report that displays the reason & resolutions for a particular day with the count for each:
Total Calls/Day Total Calls MTD
Reason #1 5 15
Resolution #2 5 15
Reason #5 4 20
Resolution #3 1 12
Resolution #4 3 8
Reason #7 3 5
Resolution #2 2 2
Resolution #4 1 3
I created a shared variable of the reason @CallReason and the count of the calls by reason @ReasonCount in the subreport. I added them to the main report and tried to create a formula where if the @CallReason = MainReport.Reason, then display @reasonCount else display 0.
But the @ReasonCount does not display. I also tried just displaying the reason description if the values matched and still nothing.
Any ideas?????
The report is of the reasons why a customer called and the corresponding resolution to the call by day with a MTD total. This sounds easy enough, but the layout the customer is requesting is what makes it difficult. They would like to see a list of ALL reasons with a list of ALL resolutions below each reason, regardless of whether a call for that reason &/or resolution was logged.
The report would look like this:
Total Calls/Day Total Calls MTD
Reason #1
Resolution #1
Resolution #2
Resolution #3
Resolution #4
Reason #2
Resolution #1
Resolution #2
Resolution #3
Resolution #4
And so on. The resolution descriptions are the same for every reason.
So far I have a main report that displays the reason descriptions (from one table) as Group #1 and the resolution descriptions (from another table) as Group #2. Joined by a customer id field.
I then created a sub report that displays the reason & resolutions for a particular day with the count for each:
Total Calls/Day Total Calls MTD
Reason #1 5 15
Resolution #2 5 15
Reason #5 4 20
Resolution #3 1 12
Resolution #4 3 8
Reason #7 3 5
Resolution #2 2 2
Resolution #4 1 3
I created a shared variable of the reason @CallReason and the count of the calls by reason @ReasonCount in the subreport. I added them to the main report and tried to create a formula where if the @CallReason = MainReport.Reason, then display @reasonCount else display 0.
But the @ReasonCount does not display. I also tried just displaying the reason description if the values matched and still nothing.
Any ideas?????