Is it possible to filter the data shown in the detail section based on what is in a crosstab? I have the crosstab showing perfectly what I want, the top 25 based on a formula. How could I do this in the group and detail sections of a report? See attached picture of the crosstab. When I choose yes, to show patient detail, all departments show on the report, not just the top 25, because the formulas are not being used in the report. How would I need to use the formulas in the report, so that whatever choices are made in running the crosstab, the same is reflected in the report?
I probably made the first mistake by taking a report that was very complicated and has stuff I don't need, and used it to place my crosstab in. It had all the tables I needed and the relationships already established that pulls the data. All I had to do was add one more table, create formulas based on that table and build the crosstab. Now, however, the detailed data is not based on what I need to show in the detail section. The customer says, "So can we click on the department (in the crosstab) and get the patients that make up that number?" Of course they cannot, because crosstab's are static.
The next best thing I could give them is the ability to see the detail if they say "yes", but then have only the detail involved in the crosstab to show.