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!
  • Students Click Here

*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


Row Visability based on group

Row Visability based on group

Row Visability based on group

SSRS 2008

I am attempting to convert a report from Crystal and would love assistance with my issue.
The groups are ID and Date. I need to only display the Comment from the most recent date for each ID and hide the rest.

ID Row Date Comment
123 1 1/3/13 Remind me to call
123 2 1/3/13 the prospect
123 3 4/5/13 I got an appointment *
123 4 4/5/13 with Joe Smith *
456 1 2/7/13 Met Sam Jones at
456 2 2/7/13 the diner for lunch
456 3 4/16/13 When to an evening *
456 4 4/16/13 baseball game with *
456 5 4/16/13 Sam *

Is this possible? Thanks in advance!

RE: Row Visability based on group

You could do it in the SQL source...

SELECT * FROM [Comments] CCC
WHERE [Date] = (SELECT Max([Date] FROM [Comments] AAA WHERE AAA.Date = CCC.Date

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!

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