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: 
timmy
Partner - Contributor III
Partner - Contributor III

Replacing by set analysis?

Can i replace the if by a Set An?

if(match(Dos_StatusId,1000,1001,1002,1003,1004,1006,1008,1009,1050,1051,1052,1126)=0,......)

tnx



Labels (1)
1 Solution

Accepted Solutions
Not applicable

Something like this may work:

Sum({<Dos_StatusId -= {1000,1001,1002,1003,1004,1006,1008,1009,1050,1051,1052,1126}>} Sales)


That would only Sum values where Dos_StatusId is not in that list. Is that what you're looking for?

View solution in original post

1 Reply
Not applicable

Something like this may work:

Sum({<Dos_StatusId -= {1000,1001,1002,1003,1004,1006,1008,1009,1050,1051,1052,1126}>} Sales)


That would only Sum values where Dos_StatusId is not in that list. Is that what you're looking for?