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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable using another variable

Dear Team,

I have defined variables asale and acogs which are working perfectly. Now i need another variable that will be difference of both as below -

SET agp =  $(=asale)-$(=acogs);

I tried LET also but that also doesnt work.

when i am trying to create expression $(agp). It does not show up anything. Please help.

thanks

Shiv

Labels (3)
1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Try with

SET agp =  $(asale)-$(acogs);

View solution in original post

1 Reply
alexandros17
Partner - Champion III
Partner - Champion III

Try with

SET agp =  $(asale)-$(acogs);