Is it possible to have a generic drillthrough report that can give me contact information about any list of EmployeeIDs coming from any number of aggregate reports. Let's say I have a bunch of reports that generally return the details of EmployeeIDs along with variables such as Department, Gender, Ethnicity, Organization, etc. These main reports can aggregate the details various ways. I would like to somehow pass the details of the EmployeeIDs that make up the aggregate, rather than having to recreate the complicated SQL in each of the main reports.
I know how drlilthrough works with a single value and then get details for that single value. In this case, I want to get different details about the Employees that make up an aggregate, so there is no single value I will be looking up in the drillthrough report.
One idea I had was the idea of somehow storing those detail records in a separate table with a report id and then the generic drillthrough could read that table for the employeeids. But I cannot think of a way to store the details of the particular table cell that would be selected.
Biology Dept 55
For instance, I would like to be able to have the drillthrough report get results for only the 23 males in Biology. The main report already has run the dataset to get those details, so I just want to pass those 23 to the drill report. It seems the only thing I can do is recreate the main SQL and add parameters for the dept and gender, but I would like a generic drill through, rather than a separate drill through report for each aggregate report.
Is this possible in any way?