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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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 (2)
1 Solution

Accepted Solutions
Kushal_Chawda

may be this

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

View solution in original post

3 Replies
Sue_Macaluso
Community Manager
Community Manager

@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

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.