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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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
tresB
Champion III
Champion III

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)

tresB
Champion III
Champion III

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

tresB
Champion III
Champion III

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