<?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: Difference between $(Variable) and $(=Variable) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070298#M937621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You All for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 12:03:08 GMT</pubDate>
    <dc:creator>kushalthakral</dc:creator>
    <dc:date>2016-02-08T12:03:08Z</dc:date>
    <item>
      <title>Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070291#M937614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to know what is the difference between $(Variable) and $(=Variable) while using them in Set Analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070291#M937614</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2016-02-08T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070292#M937615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variable: 1+2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(Variable) returned 1+2&lt;/P&gt;&lt;P&gt;$(=Variable) returned 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070292#M937615</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-08T11:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070293#M937616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked if you use =$(Variable) in a text object or =$(=Variable), both are giving same result&lt;/P&gt;&lt;P&gt;i have defined Variable value 1+2 in variable overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070293#M937616</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2016-02-08T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070294#M937617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070294#M937617</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-02-08T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070295#M937618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have also a look at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3996"&gt;The Little Equals Sign&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the comments below this blog post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the example using simple arithmetic is also not the best example, compare an aggregation like Max(Date) put into a variable and expanded in e.g. a chart dimensional context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070295#M937618</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-08T11:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070296#M937619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this simple case it looked identically - but it isn't. The difference here is where the variable-content will be evaluated. By $(=Variable) is it inside from the $-sign expansion and $(Variable) will be evaluated within the field respectively expression in which it is embedded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best explanation will you find within the link above and here: &lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070296#M937619</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-08T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070297#M937620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply put the difference is where the expression is evaluated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(Variable)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;returns the expanded variable, which may then be evaluated by the expression. May be evaluated many times in a table.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=Variable)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;evaluates the expression in the variable, and the value is returned. Evaluated once in a table or chart.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It is similar to the difference between a variable defined without a leading equals sign, or with a leading equals sign&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EDIT - beaten to the punch by Marcus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 11:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070297#M937620</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-08T11:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070298#M937621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You All for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 12:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070298#M937621</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2016-02-08T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070299#M937622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks. It has been very useful to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1070299#M937622</guid>
      <dc:creator>alsale_1968</dc:creator>
      <dc:date>2016-02-08T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1538414#M937623</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Can anybody explain how the following expression perform on the&amp;nbsp;&lt;/SPAN&gt;run-time&lt;/P&gt;&lt;P&gt;vCompare =&amp;nbsp; &amp;nbsp;$(=If($(vTYMTDSales) - $(vLYMTDSales) &amp;gt; 0,0,1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;vCompare = &amp;nbsp;&amp;nbsp;=If($(vTYMTDSales) - $(vLYMTDSales) &amp;gt; 0,0,1)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 12:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1538414#M937623</guid>
      <dc:creator>ayandey18</dc:creator>
      <dc:date>2019-02-01T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between $(Variable) and $(=Variable)</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1552198#M937624</link>
      <description>&lt;P&gt;Hi you all.&lt;/P&gt;&lt;P&gt;I find interesting what you say here, especially the part in which you say that the second approach makes the expression to be evaluated just once. That suggests we should do it that way, as far as performance is concerned.&lt;/P&gt;&lt;P&gt;I did a little testing. If the $(=variable) will make the variable to be evaluated first and then return its value to the expression, I guessed I would find differences if I do this:&lt;/P&gt;&lt;P&gt;MyVar: sum(Kilos) + sum(Euros)&lt;/P&gt;&lt;P&gt;Then I create a straight table with these two expressions:&lt;/P&gt;&lt;P&gt;Expression 1: $(MyVar) / 100&lt;/P&gt;&lt;P&gt;Expression 2: $(=MyVar) / 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would expect different results, since the first one should just expand the content of the variable and hence do something like sum(Kilos) + Sum(Euros) / 100 (for example 10 + 200 / 100 = 12), and the second one should calculate the sum first resulting in something like (10 + 200) / 100 = 2,1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the thing is both approaches behave the same way. It seems like both are expanding the content of the variable and doing something like 10 + 200 / 10 = 12. I never get the sum evaluated first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached document.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 08:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Variable-and-Variable/m-p/1552198#M937624</guid>
      <dc:creator>ramonarcusa36</dc:creator>
      <dc:date>2019-03-05T08:40:19Z</dc:date>
    </item>
  </channel>
</rss>

