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: 
meg007
Contributor
Contributor

Conditional Sum based on a flag/dimension

I want to find the sum of sales based on a flag

contract flag - N/Y values

sum of sales when contract = N

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({<Contract = {'N'}>}Sales)

View solution in original post

1 Reply
sunny_talwar

Try this

Sum({<Contract = {'N'}>}Sales)