We help IT Professionals succeed at work.
Get Started

Setting up the report based on crosstab

Becky Edwards
Last Modified: 2012-05-12
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.
Watch Question
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE