<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How does the '$' work. for eg: $(vTodaysDate) ??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244859#M1186651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thank you..... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 06:55:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-08T06:55:09Z</dc:date>
    <item>
      <title>How does the '$' work. for eg: $(vTodaysDate) ???</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244857#M1186649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 05:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244857#M1186649</guid>
      <dc:creator />
      <dc:date>2011-09-08T05:22:32Z</dc:date>
    </item>
    <item>
      <title>How does the '$' work. for eg: $(vTodaysDate) ???</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244858#M1186650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using a variable for text replacement in the script or in an expression, the syntax &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;$&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;( variablename )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;is used. $&lt;SPAN style="font-style: italic;"&gt;(variablename)&lt;/SPAN&gt; expands to the value in &lt;SPAN style="font-style: italic;"&gt;variablename&lt;/SPAN&gt;. If &lt;SPAN style="font-style: italic;"&gt;variablename&lt;/SPAN&gt; does not exist the expansion will be the empty string.&lt;/P&gt;&lt;P&gt;For numeric variable expansions, the syntax&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;$&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;( variablename )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;is used. &lt;SPAN class="Bold"&gt;$&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;( variablename ) &lt;/SPAN&gt;always yields a legal decimal-point reflection of the numeric value of&lt;SPAN style="font-style: italic;"&gt; variablename&lt;/SPAN&gt;, possibly with exponential notation (for very large/small numbers). If&lt;SPAN style="font-style: italic;"&gt; variablename &lt;/SPAN&gt;does not exist or does not contain a numeric value, it will be expanded to&lt;SPAN style="font-style: italic;"&gt; 0&lt;/SPAN&gt; instead. &lt;/P&gt;&lt;H2&gt;Example:&lt;/H2&gt;&lt;P style="font-style: italic;"&gt;&lt;SPAN style="font-style: normal;"&gt;After execution of the following script:&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="font-weight: bold;"&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;LET X = 7/2;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;$(X ) will expand to 3,5 while $(#X ) will expand to 3.5.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P style="font-weight: bold;"&gt;set Mypath=C:\MyDocs\Files\&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;...&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;load * from $(MyPath)abc.csv;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;set CurrentYear=1992;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;...&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;select * from table1 where Year=$(CurrentYear);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 06:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244858#M1186650</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-09-08T06:49:28Z</dc:date>
    </item>
    <item>
      <title>How does the '$' work. for eg: $(vTodaysDate) ???</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244859#M1186651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thank you..... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 06:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-work-for-eg-vTodaysDate/m-p/244859#M1186651</guid>
      <dc:creator />
      <dc:date>2011-09-08T06:55:09Z</dc:date>
    </item>
  </channel>
</rss>

