Skip to Content
author's profile photo Former Member
Former Member

Cross tab with a row for every 4 hours ??

Hi,

I need to have a cross tab that shows total of checks for every four hour, on its option I could only find for every hours. Any idea on how I could get a row for each 4 hours from 00:00:00 of each day? I use crystal XI

Many thanks,

Andreia

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 03:20 PM

    You will need to create your own grouping formula.

    For the purpose of this discussion the formula name is for example if hour({DATE-TIME}) in [1,4] then 1 else if hour({DATE-TIME}) in [5,8] then 2 else if hour({DATE-TIME}) in [9,12] then 3 else if hour({DATE-TIME}) in [13,17] then 4 else if hour({DATE-TIME}) in [18,21] then 5 else if hour({DATE-TIME}) in [22,00] then 6 you then group off this formula. Your group names will be 1, 2, 3, 4, 5, 6 if you want those names to be more meaningfull then write a second formula. For the purpose of this discussion the formula name is if = 1 then "00:00 to 04:00" else

    if = 2 then "05:00 to 08:00" else (etc....)

    you can then change the group, and select options, select use a formula as group name, then select the formula 4hourname

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.