<?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 Subtraction in Load Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618347#M594899</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I would like to subtract two columns in a load statement and using a Group By.&lt;/P&gt;&lt;P&gt;I find a lot of documentation about the SUM in a Load statement but none about a Difference.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you tell me if it's possible to do that in QVW.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:10:29 GMT</pubDate>
    <dc:creator>Black_Hole</dc:creator>
    <dc:date>2024-11-16T20:10:29Z</dc:date>
    <item>
      <title>Subtraction in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618347#M594899</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I would like to subtract two columns in a load statement and using a Group By.&lt;/P&gt;&lt;P&gt;I find a lot of documentation about the SUM in a Load statement but none about a Difference.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you tell me if it's possible to do that in QVW.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618347#M594899</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T20:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Subtraction in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618350#M594900</link>
      <description>&lt;P&gt;You dont need group by to subtract two fields in a data load.&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Dim1,&lt;/P&gt;&lt;P&gt;Dim2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value1 - Value2 as Value&lt;/P&gt;&lt;P&gt;From MyData;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618350#M594900</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-08-29T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Subtraction in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618352#M594901</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load ID, Sales, Sales1 From Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load ID, sum(Sales)-Sum(Sales1) as Diff Resident T1 Group By ID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table T1;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618352#M594901</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-29T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Subtraction in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618353#M594902</link>
      <description>&lt;P&gt;If you do need to aggregate on a dimension, let's say Dim1 you could do this.&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Dim1,&lt;/P&gt;&lt;P&gt;//Dim2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(Value1 - Value2 ) as Value&lt;/P&gt;&lt;P&gt;From MyData&lt;/P&gt;&lt;P&gt;Group by Dim1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618353#M594902</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-08-29T15:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Subtraction in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618427#M594903</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried both solutions and I get the correct amount.&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtraction-in-Load-Statement/m-p/1618427#M594903</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-08-29T16:31:13Z</dc:date>
    </item>
  </channel>
</rss>

