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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewp
Creator III
Creator III

SUM with where condition and ignore certain selections

I want to SUM(value) WHERE type = 'TOP' but i want it not to be affected by selections made in the 'com' and 'mon' fields

2 Replies
sunny_talwar

May be this

Sum({<type = {'TOP'}, com, mon>}value)

Miguel_Angel_Baeyens

In general when you want to avoid in an expression a field value or state of selections you use the syntax in set analysis like

Sum({< Field1 =, Field2 = >} Value)

All selections in Field1 and Field2 will be disregarded.