I am trying to perform a simple boolean operation. I saw this example online and tried to mimic it. I am unable to get it to produce the intended comparison result.
Things I have tried
/* user defined field */
steps:: 999
Goal Reached? ‘= choice(this.steps > 1000, “YES!”, “No, get moving!”)’
I am hoping someone with more experience with data view could offer some guidance here.
What do you get? And how is it misbehaving for you?
Are you sure you’re using the correct quotes? In the post above you use accent quote character (or possibly the pure apostrophe
character), and not the acute quote character, `.