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: 
alan_grn
Creator II
Creator II

Set analysis help

I am trying to do the following. COuld you please help with the set analysis.

IF FIELD1 value <> 'text value' then sum fieldvaue2 where fieldvlaue3 <> 'a value'

Labels (1)
1 Solution

Accepted Solutions
Not applicable

HI,

Try this:


If(Field1 <> 'text value', sum({$<Field3 -= {'a value'}>} Field2))


Regards

View solution in original post

2 Replies
Not applicable

HI,

Try this:


If(Field1 <> 'text value', sum({$<Field3 -= {'a value'}>} Field2))


Regards

Miguel_Angel_Baeyens
Support
Support

Hello,

Just going one step further, I'd include all conditional in set analysis. It shuould work and perform better

sum({$< Field1 -= {'text value'}, Field3 -= {'a value'} >} Field2)


Regards.