Dallas Dye 2 Posted April 24, 2019 Share Posted April 24, 2019 All, i have a general report number in my data set that is produced every day but it does not reflec the actual drilling days on the well. The interval labeling system is desinged to start once drilling starts and carry on throughout the well. What i want to do is have a starting point of day 0(first day) and start counting days from the first day after the last0 - pre Surface day. The formula i've been working with is below and the attached image shows the results along with the data layout. Count([Well Name]) OVER (Intersect([Well Name],AllPrevious([Report No.])))-1 Thank you for your time, Dallas Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted April 30, 2019 Share Posted April 30, 2019 Can you please provide a sample dxp showing the expected output value for Days on Well. Currently based on the custom expression, it will just count all the rows prior to current row for any well. Link to comment Share on other sites More sharing options...
Dallas Dye 2 Posted February 13, 2020 Author Share Posted February 13, 2020 I was able to work with a buddy and below is the formula he came up with to solve my issue, (If([interval]"Specific Interval",Rank([Report No.],"asc",[Well Name - G]))) - 1 Sorry for the dalay, Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now