[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Summarize multiple counts in a drill down report

Posted on 2008-06-19
2
Medium Priority
?
459 Views
Last Modified: 2012-06-27
I want my report to be a drill down report, based on the following (example) tables:

UserTable
UserID
UserName

TaksTable
UserID
Task
TaskDate

MemoTable
UserID
Memo
MemoDate


What I want my report to do is show the following:

Weeknumber                 UserID                  # of Tasks this week             # of Memo's this week

1                                      ABC                      25                                        8
2                                      ABC                      5                                          45
...


And I want to be able to drill down on the info, to show me the detail data, this is in a subreport (I don't see the problem there)

The problem is, that I don't know how to set this up. because I also need to filter on Users, dateranges etc, I can't make the whole query in SQL only and if I use Right Outer Join/SQL command this wouldn't work with the filters, so it seems I should treat this as different datasources.
Help is appreciated.


0
Comment
Question by:JeePeeTee
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1500 total points
ID: 21829417
Based on what you have posted you must have a main report and at least one subreport being used to produce these totals.

The value in at least one of your totals must be coming from a variable, in which case there is nothing to drill down into for that total.

To get a drill down for both totals you would have to base your report on a query, which comprised  a union between the Tasks and Memo tables and a left join from the User table to that union (sub) query.

That would eliminate the need for any subforms and so would give you drill down within the main report for both totals.
0
 
LVL 4

Author Closing Comment

by:JeePeeTee
ID: 31468701
Hi Peter,

About one hour before your answer, I found the same solution with the union. But you've earned the points ;-)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question