<?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: Subtracting individual rows &amp;amp; create a new column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611226#M735566</link>
    <description>&lt;P&gt;I don't think you answered what I asked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2019 16:45:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-08-09T16:45:54Z</dc:date>
    <item>
      <title>Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611196#M735563</link>
      <description>&lt;P&gt;I'm trying to subtract 2 different rows in same column to create a new column.&lt;/P&gt;&lt;P&gt;These are 2 specific columns&lt;/P&gt;&lt;P&gt;Ex: RowE-RowK = New Column &amp;amp; the result from this should only reflect in RowF&lt;/P&gt;&lt;P&gt;Note: There are more than 1 Row named as RowE &amp;amp; RowK&lt;/P&gt;&lt;P&gt;I do not need totals.. I tried below solution.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If( Dim1='G', Sum(total {&amp;lt;Dim1={'C'}&amp;gt;}Amount)-Sum(total {&amp;lt;Dim1={'G'}&amp;gt;}Amount),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; If( Dim1='F', Sum( total {&amp;lt;Dim1={'F'}&amp;gt;}Amount)-Sum(total {&amp;lt;Dim1={'B'}&amp;gt;}Amount), Sum(Amount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since Total is used, the result only shows difference between full total but I'd like to get individuals when nothing is selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611196#M735563</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2024-11-16T20:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611218#M735564</link>
      <description>&lt;P&gt;Do you have another dimension in your chart? I think Dim1 is one of the dimension... what is the other one?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611218#M735564</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-09T16:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611222#M735565</link>
      <description>&lt;P&gt;Yes thats the example I tried..&lt;BR /&gt;I'm using below exp&lt;/P&gt;&lt;P&gt;If( Dim1='10 -Fee1', Sum(total {&amp;lt;Dim1={'06 - AR'}&amp;gt;}Dollars)-&lt;BR /&gt;Sum(total {&amp;lt;Dim1={'09 - Bad AR'}&amp;gt;}Dollars))&lt;/P&gt;&lt;P&gt;Where ever there is a row '10-Fee1' I want to subtract 06-AR &amp;amp; 09-Bad AR&lt;/P&gt;&lt;P&gt;If I select a filter, it gives me what I need but with a duplicate value&lt;/P&gt;&lt;P&gt;When I clear filters, I get a TOTAL which I do not want&lt;/P&gt;&lt;P&gt;Cus there are more than 1 06-AR &amp;amp; more than 1 09-BadAR&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611222#M735565</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-09T16:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611226#M735566</link>
      <description>&lt;P&gt;I don't think you answered what I asked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611226#M735566</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-09T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611231#M735567</link>
      <description>&lt;P&gt;There are like 6 dimensions&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 17:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611231#M735567</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-09T17:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611665#M735568</link>
      <description>&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611665#M735568</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-12T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611679#M735569</link>
      <description>&lt;P&gt;With 6 dimensions, it would be difficult to respond back because I don't really know what you have and what you real want. Unless you are able to provide a sample file with expected output, I am not really confident that I will be able to help.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611679#M735569</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-12T15:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611706#M735571</link>
      <description>&lt;P&gt;If you could at least tell me how to subtract 2 different rows from Column A and create a new Column B?&lt;/P&gt;&lt;P&gt;I used TOTAL which only gives me correct ans if I select that particular line item.&lt;/P&gt;&lt;P&gt;If I clear the selection it gives me huge number which I do not want&lt;/P&gt;&lt;P&gt;Ex: I need to see 229&lt;/P&gt;&lt;P&gt;With filter selection I get 229&lt;/P&gt;&lt;P&gt;When I clear filter, I get 878,562 for all the rows.. It is like duplicate&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 17:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611706#M735571</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-12T17:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting individual rows &amp; create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611791#M735572</link>
      <description>&lt;P&gt;I think I got the result...&lt;/P&gt;&lt;P&gt;It wasn't the expression. It was applymap excel file.&lt;/P&gt;&lt;P&gt;Was reading it from 2 different sources &amp;amp; one of them was incorrect/not matching other file hence wrong numbers.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 23:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-individual-rows-amp-create-a-new-column/m-p/1611791#M735572</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-12T23:06:06Z</dc:date>
    </item>
  </channel>
</rss>

