Jump to content

Recommended Posts

Posted

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)

image.png.ba160e4f54b0736ed541d0a90b9b935c.png

  • Seeq Team
Posted

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.

Posted

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.

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...