<?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: When to use = in expressions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522442#M556563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the variables in the Variable Overview window that can be opened from the Settings menu or with the key combination ctrl+alt+v.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2013 17:43:46 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-28T17:43:46Z</dc:date>
    <item>
      <title>When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522437#M556558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm new to QlikView, but I have some experience as a programmer. My question is: sometimes I see examples both on this site and in the .qvw documents I work on where an expression, calculation condition, or other conditional starts with an = sign and sometimes not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference? For example, this is the expression definition in one of our charts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({$&amp;lt;[ContractType] = {"Technical Document","Informational"}&amp;gt;} [Focused Contracts])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if it were: &lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[ContractType] = {"Technical Document","Informational"}&amp;gt;} [Focused Contracts])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 16:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522437#M556558</guid>
      <dc:creator />
      <dc:date>2013-06-28T16:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522438#M556559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=Sum({$&amp;lt;[ContractType] = {"Technical Document","Informational"}&amp;gt;} [Focused Contracts])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;first&amp;nbsp; sum(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Focused Contracts]&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; actually this is a expressinon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;second one &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;{$&amp;lt;[ContractType] = {"Technical Document","Informational"}&amp;gt;} inside the expression we r writing set analysis for dynamic calculation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;ContractType&lt;/SPAN&gt; is a fieldname&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;"Technical Document&lt;/SPAN&gt;&amp;nbsp; and &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Informational&lt;/SPAN&gt; is a value in contract type field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;for eg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;year //this is a field name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;2007// these and all values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;2008&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;2009&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;2010&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;in set wwe use =before the function eg(=MAx(sales)) or (=only(sales)),(=year(currentyear)) like ths wwe use&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 16:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522438#M556559</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-06-28T16:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522439#M556560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It often doesn't matter. Where is does matter is in variables. If a variable contains an expression the = sign then the expression will be evaluated directly and not in the context of the chart the variable is used in. See attached qvw for an example. The chart has two expressions that each use a variable. The first variable contains an expression that starts with the = sign. It returns the overall maximum transaction date. The second expression returns the maximum transaction date for the SalesPerson. That's because the expression in the first variable is calculated before the dimension values are applied. The second takes the dimension value into account and so returns the maximum transaction date for the individual sales persons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 16:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522439#M556560</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-28T16:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522440#M556561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It makes also a difference (similar to a variable in effect) in places like text boxes, expression labels, chart titles, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put in a text box just outputs 'today()', while &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns today's date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 16:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522440#M556561</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-28T16:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522441#M556562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thank you, I think I understand your explanation and what is being displayed in the chart. However, how do I view the variables in your example? I haven't worked with variables yet, and when I click on the chart properties and view the expressions, they are listed $(vMaxDate1) and $(vMaxDate2) with no = sign in either one. Where are the variables made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 17:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522441#M556562</guid>
      <dc:creator />
      <dc:date>2013-06-28T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: When to use = in expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522442#M556563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the variables in the Variable Overview window that can be opened from the Settings menu or with the key combination ctrl+alt+v.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 17:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-to-use-in-expressions/m-p/522442#M556563</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-28T17:43:46Z</dc:date>
    </item>
  </channel>
</rss>

