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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

What is the error in this expression?

HI All,

I am not able to figure out the issue with this expression:

=Count({<upper([Curr Status])={'MET'}>}Key)

Please help.

Thanks

Sam

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

And if you really want to insist on UPPER, you can do it like this:

=Count({<[Curr Status]={"=UPPER([Curr Status])='MET' "}>} Key)

Ask me about Qlik Sense Expert Class!

View solution in original post

17 Replies
sunny_talwar

You cannot use a function (Upper) before = in your set modifier.

You might want to do it in the script itself or use MET as it may be spelled in your database.

HTH

Best,

S

maxgro
MVP
MVP

maybe without set analysis

count(if(upper([Curr Status])='MET', Key))

Anonymous
Not applicable
Author

I think that it is not case sensitive at all, that is there is no difference between

=Count({<[Curr Status]={'MET'}>}Key)

and

=Count({<[Curr Status]={'met'}>}Key)

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

And if you really want to insist on UPPER, you can do it like this:

=Count({<[Curr Status]={"=UPPER([Curr Status])='MET' "}>} Key)

Ask me about Qlik Sense Expert Class!
Anonymous
Not applicable
Author

Thanks all for your response!

maxgro
MVP
MVP

1.jpg

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

You see Michael, it is case sensitive after all!

Ask me about Qlik Sense Expert Class!
Anonymous
Not applicable
Author

Thanks for testing!

Anonymous
Not applicable
Author

I see, but it is very strange.  I'm just re-testing this simple expression:

count ({<Field={"*abc*"}>} Field)

and

count ({<Field={"*ABC*"}>} Field)

They return the same exact result.  The actual values in the Field are all capital.