Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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

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

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

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


talk is cheap, supply exceeds demand