Making an attribute regarding event-log

User: "mmw922"
New Altair Community Member
Updated by Jocelyn

Hi,

 

I have an event-log which has 'Activity' attribute and timestamps.

 

So I made a new attribute which numbering the sequence of activities in ascending order.

 

The problem is, I want to make a new attribute 'Previous Activity' and 'Next Activity' but don't know how to do it.

 

Please let me know the way. Thanks.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Thomas_Ott"
    New Altair Community Member
    Accepted Answer

    Take a look at the Lag operator in the Series Extension. This let's you create a new column that lags another column by some amount. Then you can rename it "Next Activity" or "Previous Activity" as the case maybe.