3 Replies Latest reply: Dec 18, 2017 2:12 PM by Felip Drechsler RSS

    LET variable, evaluate with braces

    Justin Dallas

      Hello Folks,

       

      I'm trying to set a simple variable in my script.  Right now, it looks like so:

       

       LET vHasLastShift = COUNT({<IsLastShift={'*'}-{''}>}[Stop Number]);
      

       

      Currently, the problem is that the script editor isn't taking too kindly to my braces, '{'.  Does anyone know how to get this calculation done in my script?  I need this calc in the script because it will be used as a condition for NPrinting.

       

      Any help is greatly appreciated.