Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable multiplication issue - why an incorrect result?

Anyone,

If I setup a series of calculations in a set Chart-straight table expressions, the end calculation is correct.

If I setup a series of calculations in a set of variables and then add them to a set Chart-straight table expressions, not all the end results are correct.

VarCalc.jpg

When the Return Score (RScore) is configured as a variable, it calculates correctly as 0.5 and 1.0, but not as 1.5

But the equivalent table expressions as formulas are correct at all 3 values, 0.5, 1.0, 1.5.

Is this a bug or did I set it up wrong?

The qvw and data qvd files are attached.

Thanks,

RJD

1 Reply
Not applicable
Author

its pretty weird.....

i've found that if you use:

=num($(vIScore))*num( $(vRScore))

result will be ok (4.5)