<?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: Row Subtraction in Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851471#M298640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batting: &lt;STRONG&gt;=Sum(Batting) - If(Type = 'E', sum(TOTAL {&amp;lt;Type = {'F'}&amp;gt;}Batting), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bowling: &lt;STRONG&gt;=Sum(Bowling) - If(Type = 'E', sum(TOTAL {&amp;lt;Type = {'F'}&amp;gt;} Bowling), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89943_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the sample that was prepared by &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/fvelascog72"&gt;fvelascog72&lt;/A&gt;&lt;/STRONG&gt; and made slight changes to it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 13:40:29 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-18T13:40:29Z</dc:date>
    <item>
      <title>Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851467#M298636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 276px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="90"&gt;Type&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="91"&gt;Batting&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="95"&gt;Bowling&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;44.4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;47.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;8.4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;8.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;&lt;STRONG&gt;E&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;6.8&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;7.6&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;F&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3.9&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Total 1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;62.2&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;67.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;G&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;8.0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;8.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Total 2&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;70.2&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;P&gt;75.6&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field highlighted in bold , Row E i want the value Row F - Row E, so the total comes correct in Total 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to deal with row subtraction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 12:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851467#M298636</guid>
      <dc:creator />
      <dc:date>2015-06-18T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851468#M298637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understand your requeriments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 12:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851468#M298637</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2015-06-18T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851469#M298638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the values highlighted in bold, Row E is still showing 6.8 and i want Row F - Row E (6.8-3.9 = 2.9)&amp;nbsp; for batting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For bowling (7.6-3.8 = 3.8) and everything on the table remains same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851469#M298638</guid>
      <dc:creator />
      <dc:date>2015-06-18T13:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851470#M298639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether column subtraction like col(3)-col(2) works in case of rows as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851470#M298639</guid>
      <dc:creator />
      <dc:date>2015-06-18T13:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851471#M298640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batting: &lt;STRONG&gt;=Sum(Batting) - If(Type = 'E', sum(TOTAL {&amp;lt;Type = {'F'}&amp;gt;}Batting), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bowling: &lt;STRONG&gt;=Sum(Bowling) - If(Type = 'E', sum(TOTAL {&amp;lt;Type = {'F'}&amp;gt;} Bowling), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89943_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the sample that was prepared by &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/fvelascog72"&gt;fvelascog72&lt;/A&gt;&lt;/STRONG&gt; and made slight changes to it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851471#M298640</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-18T13:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851472#M298641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 15:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851472#M298641</guid>
      <dc:creator />
      <dc:date>2015-06-18T15:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Row Subtraction in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851473#M298642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 15:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Subtraction-in-Table/m-p/851473#M298642</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-18T15:23:38Z</dc:date>
    </item>
  </channel>
</rss>

