The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

what formula to use to calculate column taking the ascending timestamp from row above.


eddy ng

Recommended Posts

unsure how to explain this, hence will need the attached visual aid as an example.

The highlighted column "Parameter Change timestamp End 2" is the column i want to create.

As you can see i want to get the[Rig name] and take the [Parameter Change timestamp] above it into [Parameter Change timestamp End 2]

I've tried using:

Rank([Parameter Change Timestamp],[Rig Name])

First([Parameter Change Timestamp]) OVER (Intersect([Rig Name],Next([Rank])))

 

However,

there are some[Parameter Change Timestamp] that are the same, Hence value comes as NULL. (as the Rank is the same number)

And i want the next acsendingtimestamp withinthe Rig ID.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...