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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum if

Hi all,

i have a question and need your help.

I have a list box:

Field 1Sums (=sum-function)
Munich122
Augsburg2344
Köln234242

Now I would like to show only Munich.

Is this possible in the properties og the listbox

or

can i solve it with a textbox like: =sum(Analysen) if Field1 = Munich

Thank you for helping!

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

=Sum({<Field1 = {'Munich'}>}Analysen)

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this

=Sum({<Field1 = {'Munich'}>}Analysen)

CathyRDuvall
Contributor III
Contributor III

If you want to maintain using the 'if statement' you would write it as:

sum(if(Field1 = 'Munich', Analysen)