<?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 Re: Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855288#M299800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rdsuperlike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;Dollar-Sign Expansion&lt;/STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We use &lt;STRONG&gt;$(vVariable)&lt;/STRONG&gt; for text replacement in script or in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dollar-Sign Expansion with an Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We use &lt;STRONG&gt;$(=expression),&lt;/STRONG&gt; this way 1st expression will execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ref:&lt;/STRONG&gt; QlikView Reference Manual, Page. 293 &amp;amp; 294.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 06:25:03 GMT</pubDate>
    <dc:creator>engishfaque</dc:creator>
    <dc:date>2015-05-27T06:25:03Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855286#M299798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL style="font-family: 'Open Sans'; font-size: 13px; background-color: #f5f5f5;"&gt;&lt;LI&gt;What’s the difference between the following expressions: vVariable, $(vVariable) and $(=vVariable) ? Which one to use when?&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 22:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/855286#M299798</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-05-26T22:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855287#M299799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exam question? Have you looked in the manual or search in the community?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concept of using $() is called dollar-sign expansion, so look int he manual for the section that describes the feature. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What example have you tried, and where did you get stuck?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 23:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/855287#M299799</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2015-05-26T23:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855288#M299800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rdsuperlike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;Dollar-Sign Expansion&lt;/STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We use &lt;STRONG&gt;$(vVariable)&lt;/STRONG&gt; for text replacement in script or in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dollar-Sign Expansion with an Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We use &lt;STRONG&gt;$(=expression),&lt;/STRONG&gt; this way 1st expression will execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ref:&lt;/STRONG&gt; QlikView Reference Manual, Page. 293 &amp;amp; 294.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/855288#M299800</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-05-27T06:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855289#M299801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For deeper understanding the difference check out this blog &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/11/04/the-magic-of-variables"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2013/11/04/the-magic-of-variables&lt;/A&gt; . Find the attached application for the difference between variables with and without '=' sign.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/855289#M299801</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-05-27T06:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/855290#M299802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Enclosing the expression in parentheses&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As we want to make sure that the expression always gets calculated in the right order, we enclose it in parentheses. Imagine, for example, we had an expression vExample containing 10 + 5 without parentheses. If we were to use that variable in an expression containing a fraction, for example, $(vExample) / 5, the wrong result would be returned (11 instead of 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Not prefixing the variable expression with an equals sign: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When the expression in a variable definition is prefixed with an equals sign (=), the variable gets calculated globally. In our example this would mean that the Load Factor % value is calculated once for the entire data model. When used in a chart, all dimensions would be ignored and the expression would just return the same global value for each dimension. As we obviously do not want this to happen, in this example we do not prefix our expression with an equals sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dollar Sign Expansion: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Enclosing a variable (or an expression) between a dollar sign and parentheses (Dollar Sign Expansion), it tells QlikView to interpret the contents, instead of just displaying the contents. For example, $(=1 + 1) will not return the static text 1 + 1, but will return 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/855290#M299802</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-05-27T06:55:33Z</dc:date>
    </item>
  </channel>
</rss>

