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: 
gautik92
Specialist III
Specialist III

Year Selection

I have a filter for year

and also I have a bar chart with year as dimension

i want year to be static in bar chart if i select in filter year in bar chart shud not change

16 Replies
tresesco
MVP
MVP

I guess, your expression is not as simple as Sum(Amount). Could you post your exact expression?

gautik92
Specialist III
Specialist III
Author

my Expression is Sum({<BILLCANCELED={'N'}>}Amount)

tresesco
MVP
MVP

In that case, expression:       Sum({<YearField, BILLCANCELED={'N'}>}Amount)          should work for you.

jayaseelan
Creator III
Creator III

Hi Gowtham Kesavan,


                Nullify the year field you will get your output.


             Sum({<BILLCANCELED={'N'},Year=>}Amount)

gautik92
Specialist III
Specialist III
Author

that is not working

tresesco
MVP
MVP

That means, there would be some other factors which can be checked you could share a sample qvw/qvf that demonstrates the issue. Check this: Preparing examples for Upload - Reduction and Data Scrambling

millan123
Creator II
Creator II

Hi

Please use this expression        Sum({<BILLCANCELED={'N'},YearField=>}Amount)...It will help you