Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

vvrchilukoori
New Contributor

Why '$' is used in qlikview ?

Like in statement

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

Is it used for font style?

5 Replies

Re: Why '$' is used in qlikview ?

inescastelhano
Contributor

Re: Why '$' is used in qlikview ?

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

Re: Why '$' is used in qlikview ?

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
Contributor II

Re: Why '$' is used in qlikview ?

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
Honored Contributor III

Re: Why '$' is used in qlikview ?

PFA document will explain $

Vikas

Community Browser