<?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 Translate expression to variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243894#M1182567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How come &lt;/P&gt;&lt;P&gt;=IF(System_1 = System_2, '1', '0') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns 1 when the fields are equal if I use it in an expression, but returns 0 if I create a variable out of it &lt;EM&gt;vSystem_Match &lt;/EM&gt;and put that in my chart as either a dimension or an expression? (With $ expansion)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jan 2012 22:10:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-01-01T22:10:53Z</dc:date>
    <item>
      <title>Translate expression to variable</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243894#M1182567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How come &lt;/P&gt;&lt;P&gt;=IF(System_1 = System_2, '1', '0') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns 1 when the fields are equal if I use it in an expression, but returns 0 if I create a variable out of it &lt;EM&gt;vSystem_Match &lt;/EM&gt;and put that in my chart as either a dimension or an expression? (With $ expansion)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jan 2012 22:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243894#M1182567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-01T22:10:53Z</dc:date>
    </item>
    <item>
      <title>Translate expression to variable</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243895#M1182568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try defining your variable like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(System_1 = System_2,'1','0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. without the equal sign. There is a more than subtle difference in using the equal sign and not using it &lt;/P&gt;&lt;P&gt;(see also &lt;A class="active_link" href="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;P&gt;&lt;/P&gt;&lt;P&gt;Then reference the variable in your expression like:&lt;/P&gt;&lt;P&gt;=$(vSystem_Match)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jan 2012 23:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243895#M1182568</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-01T23:51:36Z</dc:date>
    </item>
    <item>
      <title>Translate expression to variable</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243896#M1182569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you Stefan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 00:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-expression-to-variable/m-p/243896#M1182569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-02T00:03:06Z</dc:date>
    </item>
  </channel>
</rss>

