Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm currently still learning about Qlikview but what seemed to be a simple formula turned out to be an issue for me.
I'm trying to calculate the rate of two sum formulas.
My two formulas, sum(A) and sum(B), are able to output data. However, when I want to divide them, my straight table outputs 0.
The formula I have is: Div(sum(A),sum(B)).
Any help would be appreciated. Thank you in advance!
May be try one of these:
Sum(A)/Sum(B)
or
Sum(A/B)
did you try?
sum(A) / sum(B)
Yes, and the output is still 0
In addition, Div function outputs a integer so if your Sum(A) < Sum(B) (both positive numbers) you will see 0
could you post your .qvw?
See if the Num function helps:
Num(Sum(A)/Sum(B), '##.00000000')
Thank you, this worked perfectly!
Awesome , glad it did