Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

Different Results

Hi, I'm trying to obtain a division of two numbers. Separately the numbers are 9820 and 21,3% I just need to multiplicate them. Calc shows 209,166

=(Round(Num(Sum(If(IDCode='39000' and Año=xAñoMax, Saldo))/Divisor)/Num(Sum(If(IDCode='19000' and Año=xAñoMax, Saldo))/Divisor)*100, 0.1 ) & '%')

*(Floor(Sum(If(IDCode='19000' and Año=xAñoMax, Saldo))/Divisor) - Floor(Sum(If(IDCode='19000' and Año=xAñoAnt, Saldo))/Divisor))

Gives 2091,66

Thanks!

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

I think you need a new Calc If you take 21.3% of  9820 you really end up with 2091.66. Maybe you missed inputting the last digit of 9820 and used 982


talk is cheap, supply exceeds demand
pgalvezt
Specialist
Specialist
Author

Ok! Thanks