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: 
AngieO2019
Contributor II
Contributor II

Conditions and Nested Set Analysis

Hi,

 

Im trying to create a bar chart where the expression is a count a number of items, whose 'Counter' is greater than 1. these items and counter are failures are filtered by their kind.

my syntax thus looks like this:

if (

Sum({<[Kind]={$(='animal')}>}[Counter]) > 1

, Count({<[Kind]={$(='animal')}>}DISTINCT [ItemNumber])

)

 

however, it does not work. thoughts?

Labels (3)
1 Solution

Accepted Solutions
Kushal_Chawda
MVP
MVP

may be this

Count({<[Kind]={"=Sum({<[Kind]={'animal'}>}[Counter]) > 1"}>}DISTINCT [ItemNumber])

View solution in original post

3 Replies
Sue_Macaluso
Former Employee
Former Employee

@AngieO2019 Are you using Qlik Sense or QlikView?  I would like to move this into the correct product forum. 

Did you find a solution to your question? Mark the solution as accepted : and if you found it useful, press the like button!
Kushal_Chawda
MVP
MVP

may be this

Count({<[Kind]={"=Sum({<[Kind]={'animal'}>}[Counter]) > 1"}>}DISTINCT [ItemNumber])

AngieO2019
Contributor II
Contributor II
Author

Hi Sue,

I'm currently using qlikview.