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

Newbie Question Variables

Hi,

can anyone explain me in which case Iuse =variable and in which case =$(variable)?


Thanks.

Regards

Aloah

4 Replies
Not applicable
Author

Hi Aloah,

please look for "Dollar Sign Expansions" and Variable in QV Help-File (Index or Search).

Hope the explanation helps to understand the difference.

Rainer

Not applicable
Author

Hi,

I tried but I still didn't get it. Help file says that using a variable always starts with '$' ( and ends with ')'
If I create a variable I it doesnt't work with $...

manishkumar75
Partner - Creator II
Partner - Creator II

Hi,

=Variable will be used when you have the value of variable. =$(Variable) is used when there is expression to calculate variable.

e.g .-

Set vDay = '5/28/2009';

Set vDay$ = Today();

Now , to use vDay , =vDay will be used and to use vDay$ , =$(vDay$) will be used.

Regards,

Manish

Not applicable
Author

Thanks a lot Manish