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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show positiv and negative value in the same chart?

Hi all,

I'm a brand new user of Qlikview, and i must admit that day after day i'm enjoying this soft more and more...

However, i'm in front of an issue and i definitelly don't find any solution.

In a table, i have spanish areas like Madrid or Barcelona, and in front of them, i have some positive and negative values.

For instance, Madrid can be repeated several times like that:

Madrid / 1

Madrid / 6

Madrid / -4

Madrid / 3

with the area and the number in sparated columns...

My issue is that i'd like to create a chart that sum the positive values on one hand and negative values on the other; the goal of that is to have a chart that shows the sum of positive value above 0 and the sum of negative values under 0...., on the same bar.

Actually, don't know if that's possible, but i'm asking

Thanks

1 Solution

Accepted Solutions
Not applicable
Author

Works perfect thanks a lot

View solution in original post

4 Replies
SunilChauhan
Champion II
Champion II

make two expression in any chart

1.sum(if(column>0,culumn)

2.sum(if(column<0,culumn)

Sunil Chauhan
Not applicable
Author

cityvalue
Madrid4
Madrid5
Madrid-6
Madrid-4
Madrid8
Barcelona5
Barcelona-6
Barcelona-2
Barcelona8
Barcelona3

if you ve values like above, the maximum possiblity is attached.

Not applicable
Author

thanks a lot i'll have a look at it and tell you

thx

Not applicable
Author

Works perfect thanks a lot