DMK Posted March 25 Share Posted March 25 My keep function in advanced training does not work and only returns a ZERO. Below is the code an the image. $Grade106 = $gcwp.keep('Grade Code', isEqualTo('Grade 106')) $Grade107 = $gcwp.keep("Grade Code", isEqualTo("Grade 107")) $Grade108 = $gcwp.keep("Grade Code", isEqualTo("Grade 108")) 0.splice(0.6,$Grade106).splice(1.15,$Grade107).splice(1.75,$Grade108) Link to comment Share on other sites More sharing options...
Seeq Team Selmane Posted March 25 Seeq Team Share Posted March 25 Hello, Be careful to two things: When you create the condition, make sure you name your property correctly: $signal.toCondition('Grade Code') Then pay attention to single and double quotes: $condition.keep('Grade Code', isEqualTo('Grade 106')) Let me know if this helpful. Link to comment Share on other sites More sharing options...
DMK Posted March 25 Author Share Posted March 25 Thank you. My confusion is that I'm following along line by line in the training video and the formulas are identical. I didn't see any instructions in the training to use the "toCondition" function. I'll give it a try. 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