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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Kohli
Creator II
Creator II

variable caluculation

What is result for the variables vValue and vSum ?

SUB A

SET vValue= 5+6;

ENDSUB ;

SUB B

LET vSum=  $(vValue)+4;

ENDSUB;

SUB C

LET vValue=;

LET vSum=;

ENDSUB;

SET vValue=56;

SET vsUM=75;


CALL A;

CALL B;

CALL C;

1 Reply
sunny_talwar
MVP
MVP

After the complete script run? It should be null because CALL C; will put them to be null assuming SET vsUM=75; is actually SET vSum=75;