Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis using -=

Hi,

I am using 'not equal to' condition in Qlikview set expression, while using -= in expression the remaining script will become garbage , and it stop giving the recommendation of field. can you please tell what is its reason?

With Regards

Harshita Gaur

1 Solution

Accepted Solutions
Not applicable
Author

Hi Harshita,

I had the same problem yesterday. Instead of -= you can put - before < like this expression: =Sum({$  -<Type={O}> * <MutDescr={Revenue}>} Amount). So, in this case I want all Types except 'O', and (that's the *) where MutDescr is 'Revenue'.

Hope this will do it for you...

Martin

View solution in original post

6 Replies
Not applicable
Author

try this symbol

<> instead of -=

Not applicable
Author

This '<>' worked in if condition, but don't work in set expression

with regards

Harshita Gaur

Not applicable
Author

Hi after reading in community i came to know that

-= its a bug

instead of that go for

=* -excluded       ( * is all ) - which u dont want

anbu1984
Master III
Master III

Red lines which you see in expression after you add -= in set analysis is a bug.

Are you getting correct result for your expression?

Not applicable
Author

Hi Harshita,

I had the same problem yesterday. Instead of -= you can put - before < like this expression: =Sum({$  -<Type={O}> * <MutDescr={Revenue}>} Amount). So, in this case I want all Types except 'O', and (that's the *) where MutDescr is 'Revenue'.

Hope this will do it for you...

Martin

Not applicable
Author

Thanks Martin for your reply, i got it working.

With Regards

Harshita Gaur