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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

expression sum query

hi

while we wirte teh below expression, can we write not equal to :

= sum({<entity={asia},category<>{public}>}[GBP value])

this is not working as in category i have values (public, private and open) but new categories will keep coming so how to sum all excluding Public Category

thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Enclose string values in single quotes. Use -= for not.

sum({<entity={'asia'},category -= {'public'}>}[GBP value])


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Enclose string values in single quotes. Use -= for not.

sum({<entity={'asia'},category -= {'public'}>}[GBP value])


talk is cheap, supply exceeds demand