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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart accumulation not making sense

I have a chart that suddenly is not showing the correct amount for the last "bar" in full accumulation mode. It would seem that the count on the last bar should be 132 since the second to last is 130, and the non-accumulation chart shows that the last one has a count of 2.

Is my assumption correct? Am I missing something maybe?

This is in Qlikview 9.

15 Replies
kji
Employee
Employee

I think unchecking "Suppress Zero-Values" on the presentation tab of chart properties will give you what you want.

Not applicable
Author

I am assuming that the red part of the bar does not exist in September, therefor it can not sum it as it has no association with September. Instead of checking full accumulation try using rangesum(above(sum(field),0,rowno(total))

Not applicable
Author

The various colors are just different dimensions of the data.

The expression itself is =count(ItemNumbers)

And there are different ItemTypes like A, B, C, D.

Not applicable
Author

Johan,

Thank you for the suggestion, unforunately this did not work.

Not applicable
Author

ok, still give my idea a try, use  rangecount(above(count(ItemNumbers),0,rowno(total))

As I said, then dimension that is causing the red part of the bar probably does not exist in September, so it is no longer included in the full accumulation. I bet if you mentally add this red value to the last bar you get the expected result?

Edit: I am not sure if the rangecount will work across multiple dimensions, you will need to test to see if this is even possible.

Not applicable
Author

Hi Marc,

Your assumption is correct. I tested it out by removing the "ItemType" dimension from the chart and it does full accumulation correctly. So, the type is definitely contributing.

I tried your suggestion and set my expresstion to your formula. The results do not seem quite right, though.

Not applicable
Author

I had that expression a bit wrong. Try this:

rangesum(above(count(ItemNumbers),0,rowno(total))

set it to no accumulate

Not applicable
Author

Hi Marc,

Unfortunately that did not work, either.

Not applicable
Author

can you post a sample?