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: 
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
MVP
MVP

Try this

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

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

Try this

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