Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
omid5ive
Creator II
Creator II

Bar chart with difference in result

hi

i have a table like below

YearValue
201010
201115
20125
20138
20147

i need to have a bar chart with dimension of year and difference of values of two year

it means like this:

yearnew value (value of current year - value of past year)
2014-1
20133
2012-10
20115

what should i do in qlikview to have this chart?

1 Solution

Accepted Solutions
sunny_talwar

Here is a sample qvw prepared from the data you gave and expression swuehl‌ suggested.

Capture.PNG

View solution in original post

5 Replies
swuehl
MVP
MVP

Try chart inter record functions, like below() or above() (depending on sort order of Year dimension):

=sum(Value) - below(sum(Value))

sunny_talwar

Here is a sample qvw prepared from the data you gave and expression swuehl‌ suggested.

Capture.PNG

omid5ive
Creator II
Creator II
Author

thank you

omid5ive
Creator II
Creator II
Author

thank you

sunny_talwar

No problem

Glad we were able to help.

Best,

Sunny