Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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?