Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hola quiero sumarlas ventas de todos los comerciales excepto para 2.... He mirado en la ayuda pero no pone nada de expresiones con distinct...
Sum (IF (Comercial distinct 'X' and Comercial distinct 'Y',Importe))
La expresió no está bien porque no sé emplear el distinct, y es en lo que necesito ayuda. Gracias....
You can use the set analysis
sum({<Comercial-={'X', 'Y'}>}Importe)
Where the "Minus Equal" stands for everything except the list with the X and Y.
You can use the set analysis
sum({<Comercial-={'X', 'Y'}>}Importe)
Where the "Minus Equal" stands for everything except the list with the X and Y.
Hola Ricardo me da error en la expresión....
The check syntax gives error with "-=" but should work. Check if the names of the fields are ok.
Estoy intentando hacer una suma de los importes menos el valor de un comercial y también me da error, empleo
Sum(<{comercial-='x'}> Importe)
También he puesto:
Sum({}<{comercial-='x'}>) importe)
Salen los dos con error....
Please note the diference:
Sum(<{comercial-='x'}>Importe)
to the right one:
Sum({<comercial-={'x'}>}Importe)
Its {< and not <{
And you must have {} around the list of possible values.
You can search for Set Analysis in the User Manual and you have a lot of exemples there.
Ok Ricardo, he conseguido obtener mediante Sum({<Comercial-='x'>}Importe) el mismo gráfico que para todos, no me quita el valor del comercial x, es como sino hiciera nada....
Hi,
once again, pay atention to the sintax:
Sum({<Comercial-={'x'}>}Importe)
Muchas gracias Ricardo, sale bien perdona por molestarte. Un saludo.