In this expression i have the sales for the previous day for format FRANC from the field AMOUNT_TRIG plus the sales the the previous day for the other formats except FRANC from the field SALES_AMT_FPA.
In this expression if i choose another format from the multi box i haven't the sales for the FORMAT i have choosen.
How can i have the same results like the expression give me but when i choose another FORMAT having the data for the choice i have done ?
If you want to choose the FORMAT from a multibox then don't hard-code it in the set analysis expression. Just remove FORMAT={'FRANC'}, and make sure that a value is selection in the multibox. Or create a variable that will make sure either FRANC or the selected value is used: