<?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 same column values in QlikSense table chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Subtracting-same-column-values-in-QlikSense-table-chart/m-p/1995635#M82413</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Sum({&amp;lt;Business={'Direct'}&amp;gt;}Sales),Month))- Sum(Aggr(Sum({&amp;lt;Business={'Indirect'}&amp;gt;}Sales),Month))&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 15:47:07 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2022-10-21T15:47:07Z</dc:date>
    <item>
      <title>Subtracting same column values in QlikSense table chart</title>
      <link>https://community.qlik.com/t5/App-Development/Subtracting-same-column-values-in-QlikSense-table-chart/m-p/1995555#M82406</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have a table chart in frontend which containg data as below&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl67" style="height: 15.0pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" class="xl67" style="border-left: none; width: 48pt;"&gt;Month&lt;/TD&gt;
&lt;TD width="64" class="xl67" style="border-left: none; width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Direct&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Apr&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Direct&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Direct&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jun&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Direct&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Direct&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Aug&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;Indirect&lt;/TD&gt;
&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Apr&lt;/TD&gt;
&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;Indirect&lt;/TD&gt;
&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;Indirect&lt;/TD&gt;
&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Jun&lt;/TD&gt;
&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;Indirect&lt;/TD&gt;
&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;
&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;Indirect&lt;/TD&gt;
&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Aug&lt;/TD&gt;
&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to subtract Business=Indirect value for month of Apr from Business=Direct and show in a separate table chart.&lt;/P&gt;
&lt;P&gt;(here for Apr = 100 - 10). Similar for all months&lt;/P&gt;
&lt;P&gt;Desired output:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl66" style="height: 15.0pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-left: none; width: 48pt;"&gt;Month&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-left: none; width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Net&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Apr&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;90&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Net&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;180&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Net&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jun&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;270&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Net&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;360&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;Net&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Aug&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;450&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Subtracting-same-column-values-in-QlikSense-table-chart/m-p/1995555#M82406</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2022-10-21T13:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting same column values in QlikSense table chart</title>
      <link>https://community.qlik.com/t5/App-Development/Subtracting-same-column-values-in-QlikSense-table-chart/m-p/1995635#M82413</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Sum({&amp;lt;Business={'Direct'}&amp;gt;}Sales),Month))- Sum(Aggr(Sum({&amp;lt;Business={'Indirect'}&amp;gt;}Sales),Month))&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 15:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Subtracting-same-column-values-in-QlikSense-table-chart/m-p/1995635#M82413</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-10-21T15:47:07Z</dc:date>
    </item>
  </channel>
</rss>

