Skip to Content

Time between Closed and Start in Sequence of events.

My specific issue is in regards to time between different events. My Example of data:

Date | User |Ticket |Seq | Start | Closed Hour

01/01/2018| AB1234| 1234216| Seq 1| 08:00| 12:01

01/01/2018| AB1234|1328903| Seq 2|12:11|13:00

01/01/2018| AB1234|1762349| Seq 3| 13:03|14:05

01/01/2018| AB1234|1674365| Seq 4| 14:05|16:00

I need to get the time difference between the CLOSED HOUR of each Ticket and the Start Hour of next ticket in Sequence. I have tried different ways but no success. Any expert help would be appreciated.

Add a comment
10|10000 characters needed characters exceeded

  • I have fixed your tags. Since you haven't specified product(s) you are using and assuming you are using reporting in SAP Business Intelligence platform, I set tags to the most likely areas.

    Next time, please be more descriptive and select tags more carefuly.

Related questions

5 Answers

  • Posted on Oct 11, 2018 at 07:11 AM

    use following formula:

    =TimeBetween(Previous([Closed Hour];([User])); [Start]; MinutePeriod)

    This calculates the time between tickets in "min" for each "user".

    ..

    it is better to use a combined "date and time" in the formula (the "start" of the ticket is on another day of "closing" the previous ticket)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 11, 2018 at 03:59 PM

    I am in Business Objects 4. I do not have a TimeBetween function available nor a MinutePeriod.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2018 at 01:12 PM

    In SQl this case statement was able to work: ,case when seq = 1 then null else lag(Closed Hour) over (order by [Date], user, seq) end as [Time_Between]

    I do not know how to recreate this in Business Objects 4.


    jlhkn.png (3.6 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2018 at 02:03 AM

    Any expert out there able to tackle this?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 15, 2018 at 08:49 AM

    I have it in BO 4.2.4

    - Wobi

    Syntax

    int TimeBetween(first_date;last_date;period)			
    
    

    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.