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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with Variable

Hi all,

I have come across some strange behaviour using an expression/variable in Sense vs the same expression/variable in Qlikview.

The same expression is working as expected in Qlikview but doesn't work in Qlikview (same data).

The variable:

vGetReviewer = GetFieldSelections([Reviewer])

Expression that uses this variable :

if([Reviewer]= vGetReviewer, ValueList(vGetReviewer), Reviewer_Code)

It is a fairly straighforward expression and works like a charm in QV, but no luck in Qliksense.

Any ideas would be appreciated.

Many thanks.

1 Solution
3 Replies
reddy-s
Master II
Master II

Hi Coco,

Try this expression : if([Reviewer] = $(vGetReviewer), ValueList(vGetReviewer), Reviewer_Code)

Not applicable
Author

Thanks Balraj.

Using the SET functionality in the script side works.

What is the point of the creating variables via the front end UI?