Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mazacini
Creator III
Creator III

Why does this simple minus equal "-=" set analysis not work?

I am getting the red error mark on the minus signon this expression:

=SUM({$<Target-={'y')>} TR.VAUE)

When I drop the minus sign, there is no error. Error also present if I replace minus with plus ie +=

Any ideas?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Afaik that is a Bug in the expression dialog.

Does the expression evaluates?

View solution in original post

4 Replies
swuehl
MVP
MVP

Afaik that is a Bug in the expression dialog.

Does the expression evaluates?

jduenyas
Specialist
Specialist

I believe this is a bug in QlikView. You will also notice that after the '-=', '+=', '*=' the intellisense (the feature that completes the typed function name or field name) is not working. Since I like this feature I always set my set analysis to the '=' sign, complete the statement and then change to '-=' or any of the others.

jduenyas
Specialist
Specialist

By the way, the expression should evaluate correctly even the 'error' squigly line is showing. If it does not evaluate correctly for you make sure that you evaluate to the right value -- Target-={'y') is not the same as Target-={'Y') (Case sensitive)

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Agree that this is a bug in the expression dialog syntax check and can be igmored.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein