22 Replies Latest reply: Mar 8, 2018 4:06 AM by bryan dandan RSS

    Set modifier field greater than field and variable

    bryan dandan

      Hello,

       

      I'm trying to compare a field on one part to a field and a variable on another part, inside a set modifier.

      Business Rule: Cap<= (Rate + vShock)

      The Cap and Rate are fields and the vShock is a variable.

       

      I have tried the following syntaxes:

       

      sum ({<Cap={"<=$(=Rate + $(vShock))"}>} Balance)

      sum ({<Cap={"<=($(=Rate) + $(vShock))"}>} Balance)

      sum ({<Cap={"<=$(=Rate + vShock)"}>} Balance)

      [...]


      I know how to use a set modifier for a variable alone, and for a field alone (dollar expansion) but I'm struggling with merging them.


      Any thoughts?


      Thanks