Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
balasundaram
Creator II
Creator II

i designed one bar chart...

I have designed Barchart. When user opened that chart need to show current Year data. after user selected previous year in year list box,same  bar chart need to show previous data..how to write condition for that?

please tell me

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

=Sum({<Year = {"$(=Max(Year))"}>}Amount)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

HI

Try like this

=Sum({<Year = {"$(=Max(Year))"}>}Amount)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
balasundaram
Creator II
Creator II
Author

thank u very much....machaa