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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
deniscamh
Creator
Creator

Colors greyed out after selection

Hi all,

I created a bar chart with the years and categories as dimensions:

Action categories.JPG

My expression is: count({<Total_Period = {'Past Actions'},Year = {">= $(=Year(AddYears(Max([Action Date]),-5)))"}>} distinct [Action Import ID])

When I make a Year selection the colors for not selected years become grey but the data still showing:

Action Category2.JPG

What should I do to prevent colors become grey?

Thank

3 Replies
CarlosAMonroy
Creator III
Creator III

Hi Denis,

Maybe just add the year to the set analysis as a exclude selection field. Something like:

count({<Year=, Total_Period = {'Past Actions'},Year = {">= $(=Year(AddYears(Max([Action Date]),-5)))"}>} distinct [Action Import ID])


Hope that helps,

Carlos M

deniscamh
Creator
Creator
Author

Thanks Carlos,

I already tried it.

Does not work, same result.

Thanks

d44973694
Contributor II
Contributor II

Did you find a solution to this?