<?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 Subtracting one variable value from another to create a third in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194495#M55371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a copy of my file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 19:53:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-21T19:53:21Z</dc:date>
    <item>
      <title>Subtracting one variable value from another to create a third</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194493#M55369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written an expression in the load script to create a variable called NLLOS. The expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ([DC_DESTINATION]&amp;lt;&amp;gt;'63', LOS,0) as &lt;STRONG&gt;NLLOS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DC_DESTINATION and LOS are in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From another table I load a field called GLOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add all four fields to my TABLE object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a fifth field that will subtract GLOS from &lt;STRONG&gt;NLLOS&lt;/STRONG&gt; to create a field called &lt;STRONG&gt;NLMN&lt;/STRONG&gt; if DC_DESTINATION &amp;lt;&amp;gt;'63'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 00:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194493#M55369</guid>
      <dc:creator />
      <dc:date>2010-06-19T00:55:01Z</dc:date>
    </item>
    <item>
      <title>Subtracting one variable value from another to create a third</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194494#M55370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 14:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194494#M55370</guid>
      <dc:creator />
      <dc:date>2010-06-21T14:06:04Z</dc:date>
    </item>
    <item>
      <title>Subtracting one variable value from another to create a third</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194495#M55371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a copy of my file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 19:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-one-variable-value-from-another-to-create-a-third/m-p/194495#M55371</guid>
      <dc:creator />
      <dc:date>2010-06-21T19:53:21Z</dc:date>
    </item>
  </channel>
</rss>

