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: 
fmazzarelli
Partner - Creator III
Partner - Creator III

Create a new expression

Hi Community,

a simple question

I used this expression: to extract the value

sum({<Commessa = {'ASSCLI', 'ASSREM', 'ASSTEL', 'SPES16','QLIKVW'}>} [OreLavorateIncluse])

Now I need a new expression

sum({<Commessa <> {'ASSCLI', 'ASSREM', 'ASSTEL', 'SPES16','QLIKVW'}>} [OreLavorateIncluse])

I need to extract all data not included.

FabioM

3 Replies
sunny_talwar
MVP
MVP

Try this:

Sum({<Commessa -= {'ASSCLI', 'ASSREM', 'ASSTEL', 'SPES16','QLIKVW'}>} [OreLavorateIncluse])

Note a small negative sign (in red) before the equal sign

sunny_talwar
MVP
MVP

Or this, if you don't want to be changed by selections in Commessa field:

Sum({<Commessa ={'*'} - {'ASSCLI', 'ASSREM', 'ASSTEL', 'SPES16','QLIKVW'}>} [OreLavorateIncluse])

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this will work, it will show as syntax error but it works

=sum({<Commessa = {'*'} - {'ASSCLI', 'ASSREM', 'ASSTEL', 'SPES16','QLIKVW'}>} [OreLavorateIncluse])


Regards,

Jagan.