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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Column(X)/Column(Y) problem

Hello,

I have a table chart with two expressions that are using the accumulated option (12 steps).

I want to add a third expression which is Column(2)/Column(1). Doing that, the value returned on each row are not the value I am looking for instead it displays something else. (This is not a rounding issue)

I just want to divide the two numbers that are listed in Column 1 and 2 correctly. Anyone have any idea?

12 Replies
Not applicable
Author

That doesn't seem to affect the individual row values though?

/Fredrik

stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

I did a test on this and can replicate the problem. What it is doing is dividing the actual results rather than the accumulated results.

If you change your expressions to include the accumulations in them, then it works (well, it works for me):


RangeSum(Above(Sum(Unit),0,12))



RangeSum(Above((sum(calc_NetSales)-sum(calc_MarginFixedCostPart)-sum(calc_MarginVariableCostPart)),0,12))


Regards,

Stephen

Not applicable
Author

Thank you very much!

That solution is perfect for me.