Forum Discussion

AndreaF's avatar
AndreaF
Contributor III
2 years ago

Exclude members from rule expression

Hi, I have two sets of derivative source rules (see below).  What I am looking for is to exclude the Accounts starting with 9203 from the second set of derivative source rules.   Each deriv...
  • JackLacava's avatar
    JackLacava
    2 years ago

    I'm not good at Transformation rules, but I don't think you can do a difference easily - you'd need a buffer, which is only available on BiBlend derivatives. However, it might be enough to place something like this on your 92* line, to nullify any value coming from 9203:

     

    if args.GetSource("A#").StartsWith("9203") then
       return 0
    end if
    return args.ColumnValue