Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - specific value

Hello all,

In the list box page_storytellers_by_city_sub_name (image below) i want to create expression of all city from Noord-Holland.

my current expression is   =sum({$<page_storytellers_by_city_sub_name= {"Noord-Holland"}>}page_storytellers_by_city_value)

when i use this expression in the text object the value returns into 0. Which expression should i use?

Thank u so much!

Greets,

Rega

1 Solution

Accepted Solutions
sunny_talwar

What about this:


=Sum({$<page_storytellers_by_city_sub_name= {"*Noord-Holland*"}>}page_storytellers_by_city_value)

View solution in original post

4 Replies
sunny_talwar

What about this:


=Sum({$<page_storytellers_by_city_sub_name= {"*Noord-Holland*"}>}page_storytellers_by_city_value)

Not applicable
Author

Hey Sunny T,

And how about a expression to get result all city exclude "*Netherlands*"?

Thanks

trdandamudi
Master II
Master II

May be like below:

=Sum({$-1 <page_storytellers_by_city_sub_name= {"*Netherlands*"}>}page_storytellers_by_city_value)

sunny_talwar

May be this:

=Sum({$<page_storytellers_by_city_sub_name -= {"*Netherlands*"}>}page_storytellers_by_city_value)

Note a small negative sign before the equal sign