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: 
Rodney
Contributor III
Contributor III

What's wrong with this simple expression?

Sorry, this is a real noob question ... but what's wrong with this? 

We want to insert the count of EventTypes that are equal to Demo. 

I take out the {} and it says it works (ie, the red error message goes away) but the value is as though there were no = sign ... ie, just the Total Count

EventTypeEqualsDemo.PNG

1 Solution

Accepted Solutions
zzyjordan
Creator II
Creator II

Hi, Rodney

Try  this:

count({<EventType={'Demo'}>} EventType)

 

Hope this helps

ZZ

View solution in original post

3 Replies
vikramv
Creator III
Creator III

Try like this.....

Count( {<EventType={'Demo'}>} EventType )

For Distinct Counts

Count( Distinct {<EventType={'Demo'}>} EventType )

Help File

 

zzyjordan
Creator II
Creator II

Hi, Rodney

Try  this:

count({<EventType={'Demo'}>} EventType)

 

Hope this helps

ZZ

Rodney
Contributor III
Contributor III
Author

Thank you!