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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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