Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
shuck1985
Contributor III
Contributor III

Several conditionals on a total count

I have a line chart and I am plotting change in number of actions over several yearsAnalysis.PNG

Now I want to exclude all actions that do not happen in that year. I did the following but that's not working (please note that Actions isn't the correct field name, I can't put the correct one here, hence the colour being wrong)

action.PNG

Could anyone help please?

7 Replies
Sergey_Shuklin
Specialist
Specialist

Hello, Beatrice!

Try to do the followin:

=Count({<Jahr={">2010 <2017"}, Action={">0"}>}Action)

shuck1985
Contributor III
Contributor III
Author

Hi Sergej, thank for your reply.

Unfortunately that doesn't work.

Sergey_Shuklin
Specialist
Specialist

Hm, the expression isn't correct or result is not what you want?

shuck1985
Contributor III
Contributor III
Author

I get  "all expressions disabled"

Sergey_Shuklin
Specialist
Specialist

So, if you have a line chart try to use Jahr as Dimension and my offered expression as expression. Should work.

hcabrera
Contributor III
Contributor III

Hi,

Try

count({<Jahr - = {2011,2012,2013,2014,2015,2016}>}Action)

Sergey_Shuklin
Specialist
Specialist

Is this not what you want?