Thank you loannis. I tried to format the number in the select statement but when I executed it fails, I don't know what would be the correct sentence.
Otherwise, this field in SAP has set "Flag for sign in numerical fields"
I tried to uncheck this flag and select works perfectly, but I can't do this because program in SAP doesn't work.
Would someone know how can I fix this problem?
Thanks in advance.
finally I found the solution, I was using Qlikview Desktop 11.20 and for some reason it ignores minus sign at the end of the number except if I do:
text([PUNTOS_GASTADOS]) as [ZPUNTOS_CLIENTE.PUNTOS_GASTADOS]
then I format this text as:
finally I sum points correctly.
Thank you all for your help.