<?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 When to use = in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608161#M224595</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;I want to know when to start the expression with =?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes if the expression if not giving required results, developers simply add = and then it starts working. Is there is thum rule when it needs to be used?&lt;/P&gt;&lt;P&gt;what I have observed is if you want to return the value stored in the variable then you need to give =$(variable)...not giving = returns the expression itself (without evaluating the result). Can you please guide on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 16:37:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-21T16:37:05Z</dc:date>
    <item>
      <title>When to use = in expression</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608161#M224595</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;I want to know when to start the expression with =?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes if the expression if not giving required results, developers simply add = and then it starts working. Is there is thum rule when it needs to be used?&lt;/P&gt;&lt;P&gt;what I have observed is if you want to return the value stored in the variable then you need to give =$(variable)...not giving = returns the expression itself (without evaluating the result). Can you please guide on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 16:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608161#M224595</guid>
      <dc:creator />
      <dc:date>2014-03-21T16:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expression</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608162#M224596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you define using Let keyword&lt;/P&gt;&lt;P&gt;id automatically take equal to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean it will calculate expression after variable in let&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when use set Keyword is will not calculate i.e not use equal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let a=1+2&amp;nbsp; results in 3&lt;/P&gt;&lt;P&gt;set a=1+2 results in 1+2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;but when you use &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=$(a)&amp;nbsp; IT WILL RESULT IN 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HOPE THISHELPS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 16:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608162#M224596</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-21T16:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expression</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608163#M224597</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;When using a variable for text replacement in the script or in an expression, the following syntax is used:&lt;/P&gt;&lt;P&gt;$( variablename )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for assigning the value to any variable we used&lt;/P&gt;&lt;P&gt;Let vYear = $(CurrentYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if using like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set X = $(MUL(3,7)); // returns '3*7' in X&lt;/P&gt;&lt;P&gt;Let X =&amp;nbsp; $(MUL(3,7)); // returns 21 in X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 16:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608163#M224597</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-21T16:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expression</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608164#M224598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a good article/explanation:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked" title="http://www.qlikfix.com/2011/06/08/not-all-variables-are-created-equal/"&gt;http://www.qlikfix.com/2011/06/08/not-all-variables-are-created-equal/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expression/m-p/608164#M224598</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-21T17:14:36Z</dc:date>
    </item>
  </channel>
</rss>

