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.

Jobs

Reporting Services Questions

Reporting Services Questions

(OP)
sorry im new to reporting services ....im trying to count only code = 1 how do you do that ?

Part No
7100001 Block Full a Canyon Ledge Gray
10012913003 1
10020113003 1
10020513003 1
10020813003 1
10021212003 1
10021413003 1
10021913003 1
291436001 0

I used this expression but it is counting 8 instead of 7 ... can you help me please ? I only want to total if 1 then count 1 else 0 ....

=count(lookup(Fields!SERIAL_NO.Value,Fields!SerialNo.Value, Fields!PIE_Tag.Value, "QA")="True",1,Nothing)

thanks.

RE: Reporting Services Questions

I'm going to assume it's counting the nothing row even though there's no data, try using a sum to see if you get the 7 you want.

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!

Resources

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