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: 
Not applicable

Can't get not equal to work

Hi Community,

Below I have some code that attempts to find the number of open tickets:

count(

          {1<[Request Date Type] = {'Created'}>*<[Request Date Type]-={'Completed'}>}

          [Request Date Type]

)

For some reason I get a little squigle under the -={"Completed">}... of the code and it gives me all the values created but not subtracting those that are completed.

2 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Try:

count(

          {1<[Request Date Type] = {'Created'}>*<[Request Date Type]={"='Completed'"}>}

          [Request Date Type]

)

vgutkovsky
Master II
Master II

Brandon,

Try set subtraction instead:

count({1<[Request Date Type] = {'Created'}>-<[Request Date Type]={'Completed'}>} [Request Date Type])

Vlad