×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Crosstab Report - hide rows conditionally (blank, null, zero)

Crosstab Report - hide rows conditionally (blank, null, zero)

Crosstab Report - hide rows conditionally (blank, null, zero)

(OP)
I am largely self-taught on ReportSmith, and very grateful for the help of many of you here at the forum!  

Is there a way to hide rows of a crosstab where all columns are zero, blank, or null?  I have played a bit with the "Null Value String" option, and even custom sorts, but do not see any way to achieve this.

I want to subtotal a report by department, but the crosstab repeats all employees for every department.  A (very) simple example of the situation (on the actual report I may get one or two rows per page that actually have data):

What I get...

Regular Hours
Dept  Employee   PP1   PP2...
101   John        36.25
        Jane       
101 Subtotal     36.25
102   John
        Jane        40.00
102 Subtotal     40.00
Total               76.25

What I want...

Regular Hours
Dept  Employee   PP1   PP2...
101   John       36.25
Subtotal          36.25
102   Jane       40.00
Subtotal          40.00
Total              76.25

Thanks in advance!
Chris

RE: Crosstab Report - hide rows conditionally (blank, null, zero)

I am not sure a cross tab is the way to go.  I have something similar to what you are trying to do but used Tools -> Report Grouping and added the DEPT to Report Grouping.  Next, make sure your first sort item is the DEPT - same as the group.

From there, go to Insert -> Header/Footer and add a DEPT Footer.

Next, click on the desired columns and then the sum button.

If you want your detail hidden and to only show the summary footers, go to Format -> Section.  Choose Detail in the box above and then check the Hide Section box.

Hope this helps.

RSGeek at WI dot RR dot COM
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close