Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Range sum not working properly

Hello all i have a range sum function which is performing well in a pivot table, but when i use the same expression in line chart the values are plotting wrong on the graph  . What could be the possible cause for this ? is there any bug in qlik view 12 ? or is the exp wrong ?

Range Sum (Above( Sum Amt), 0, Week))

7 Replies
swuehl
MVP
MVP

More than one dimension?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

The expression is wrong for sure, because this is not something QlikView understands in any object (unbalanced parentheses?). You'll get a lot of syntax errors from the start.

Can you post the correct expression and the dimensions you use in your line chart, and the set of dimensions that you use in your pivot table? Or maybe even better, an example document with reduced data that exhibits the line chart problem and contains a pivot table that works according to your expectations?

Thanks.

Not applicable
Author

yes

Not applicable
Author

Range Sum (Above(Sum({$<Data_Type={'Billing'},Qtr={'2016*', '2017*'} >}Amt), 0, Week)

Kushal_Chawda

What are the dimensions in charts? Would you be able to post sample file with expected output?

swuehl
MVP
MVP

What you see is most probably due to Above() function considering the column segments or that the sort order of the internal table is different in your two charts.

Above ‒ QlikView

Can't tell more with the few information provided, as always, context is essential to any question, please provide full context (at least all dimensions and expressions, specific chart settings you've modified, maybe also an overview of the data model) with your questions.

tresesco
MVP
MVP

One visible error: Its RangeSum, not Range Sum (no space in between)