×
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!
  • 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

Multiple data points issue

Multiple data points issue

Multiple data points issue

(OP)
Hi, I'm hoping someone can help with this issue, its driving me crazy!!

I have 3 data points that I want to display on a graph that is pulling from a report. I have first(datapoint), max(datapoint) and i want the second datapoint that follows the first ..... so I want:
datapoint1
datapoint2 (which is 48-72 hours after the first one)
datapoint100 (last one available)

I have two variables for determining the 48 hour and 72 hour.
=RelativeDate([InitialDate]; 1) <----InitialDate is min(date&time)
=RelativeDate([data].[Date & Time]; 3)

Then i have it determining if it qualifies as "Initial" (min), "48 Hour" or "Recent" (max).
=If([data].[Date & Time] = [InitialDate]) Then "Initial" ElseIf [data].[Date & Time] = [Recent] Then "Recent" ElseIf [data].[Date & Time] Between ([48Hr] ; [72Hr]) Then "48 Hour"


The problem that I am having is that there can be multiple datapoints between 48 and 72 hours and I only want the first one. No matter how many variables I have tried it just doesnt want to show me only the second one. I'm sure there is a simple way to do this but it just hasnt come to me! Any help is greatly appreciated!!

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