×
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

Jobs

How can I develop a report to have break up time by intervals.

How can I develop a report to have break up time by intervals.

How can I develop a report to have break up time by intervals.

(OP)
Please help? I am trying to create a report to count how many transaction are taken in 30 minute time frames.  I am stuck on how to create a formula to have the time intervals. Don't know where to begin.

example
Time    Count
7:00 am  8
7:30 am  9
8:00 am  10

Thanks

RE: How can I develop a report to have break up time by intervals.

It depends in part on the datatype of your time field, but if it is a time field, you should be able to create formulas like:

if {table.time} in time(07,00,00) to time(07,30,00) then "7:00 to 7:30" else
if {table.time} in time(07,30,01) to time(08,00,00) then "7:30 to 8:00"//etc.

Then group on this formula and insert summaries on your transaction field.  Then suppress the details.

-LB

RE: How can I develop a report to have break up time by intervals.

Note that if your data does not have any transactions for a given timeframe, then you won't get that time with a zero quantity, it will be omitted.

I generally approach this sort of requirement by creating a table with all times at the 1/2 hour level (data warehousing dimension table approach).

-k

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