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

Issue with field selection upon Set analysis

hi all,

I have the next set analysis expression:

Sum({$<OPCODE={'*'}-{'CANCEL''},MA={"*"}-{''}>} SUBSCRIBER_COUNT)

but the problem I have is that when I want to make a selection on MA it doesn't work.

the condition not to sum the ones with empty MA is very important for the total. but makes a certain selection on this field not work.

does anyone have an idea how to solve this?

thanks,

Boris

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try with exclusion operator '-', like:

Sum({$<OPCODE={'*'}-{'CANCEL''},MA -={''}>} SUBSCRIBER_COUNT)

View solution in original post

3 Replies
salto
Specialist II
Specialist II

Hi,

in the load script, try to assign a value (Empty) to the empty MA fields. Then:

Sum({$<OPCODE={'*'}-{'CANCEL''},MA={"*"}-{'Empty'}>} SUBSCRIBER_COUNT)


Hth.

tresesco
MVP
MVP

Try with exclusion operator '-', like:

Sum({$<OPCODE={'*'}-{'CANCEL''},MA -={''}>} SUBSCRIBER_COUNT)

Not applicable
Author

Hey Boris..

It will work with the same expression ..  it is not recating on selections

Because u specified  *  in the expression , represents all values ,

If u observe eventhough u are try same expression in text box also not react..

one more thing is it may not the key field ...

Regards,

koti