Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
apply and and or operators in set analysis.
I need help to apply an operator or to this set analysis. can you help me?
count({$<Flag_AltoValor={'A'}> + <art_serie_fab={'S'}> and <Cli_General={'S'}>} DISTINCT %Folio_Fac)
regards
Hi Eldred, '*' is 'and' (like '+' is 'or'), and you can use parenthesys to group conditions so:
count({$(<Flag_AltoValor={'A'}> + <art_serie_fab={'S'}>)*<Cli_General={'S'}>} DISTINCT %Folio_Fac)
You can also do this
Count({$<Flag_AltoValor={'A'}, Cli_General={'S'}> + <art_serie_fab={'S'}, Cli_General={'S'}>} DISTINCT %Folio_Fac)