Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Why '$' is used in qlikview ?

Like in statement

   $(varMaxDate) - $(varMinDate) + 1;

Is it used for font style?

5 Replies
tamilarasu
Champion
Champion

inescastelhano
Partner - Creator II
Partner - Creator II

Hey there,

In a wider sense, in means that inside the brackets you have something which is defined somewhere else. By your example, it looks like a variable. It means that it will somehow "find" the text inside the brackets and replace it with corresponding expression.

Cheers,

Inês

Not applicable
Author

Hello Vishu,

'$' will evaluate the variable value before used in the expression.

For E.g. LET varMaxDate = YearEnd(Today());

Then $(varMaxDate) will evaluate to Numeric Value corresponding to 31-Dec.2016.

Read following blog by HIC. It will clarify you definitely.

The Magic of Dollar Expansions

Regards

Kiran Shinde

maniram23
Creator II
Creator II

Hi,

When you are using variables any where you can use $.

Otherwise the variable will not work.  because $ is use to evaluate the variable.

vikasmahajan

PFA document will explain $

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.