Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
warrentk80
Creator
Creator

Condition differently in the Set analysis

Goodmorning everyone

I need to enter in a formula by Set analisys to select data other than a given value

the syntax that normally use to control "if equal" is sum ({$ <[Flg Activity Type] = {'F'}>} [Total power consumption in ])

but if I have to select data other than F does not work the formula

sum ({$ <[Flg Activity Type] <> {'F'}>} [Total power consumption in ])

someone would know how to say it uses the Set analysis on the condition differently?

Thank you

Andrea



1 Solution

Accepted Solutions
sunny_talwar

or this if you don't want your expression to change based on a selection in [Flg Activity Type] and always include everything except F

({$ <[Flg Activity Type] = {'*'}-{'F'}>}

View solution in original post

2 Replies
MK_QSL
MVP
MVP

({$ <[Flg Activity Type] -= {'F'}>}

sunny_talwar

or this if you don't want your expression to change based on a selection in [Flg Activity Type] and always include everything except F

({$ <[Flg Activity Type] = {'*'}-{'F'}>}