Hola @MGCARDENAS
Si no quieres entrar en codificación, como ‘Columns Expressions’… lo más razonable es romper tus formulas en partes y separar los operadores lógicos (OR, AND) del cálculo. El workflow resultante va a tener más nodos, pero puede simplificar la tarea si no conoces las expresiones.
Para el ejemplo que expones:
REL1_LOGIC (Rule Engine)
// UNA CONDICION
$ID_CLIENTE$ = $ID_CLIENTE(-1)$ => TRUE
TRUE => FALSE
RELACION_1 (Math Formula)
// True == 1, False == 0
if($REL1_LOGIC$ == 1, $VENTAS(-1)$, 0)
REL2_LOGIC (Rule Engine)
// DOS CONDICIONES
$ID_CLIENTE$ = $ID_CLIENTE(-1)$ AND $YEAR$ = $YEAR(-1)$ => TRUE
TRUE => FALSE
RELACION_2 (Math Formula)
// True == 1, False == 0
if($REL2_LOGIC$ == 1, $VENTAS(-1)$, 0)
salu2