Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
vvrchilukoori
Contributor
Contributor

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

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.
If you want to go quickly, go alone. If you want to go far, go together.