<?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 Tax return in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168941#M39920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I need to calculate tax return after each month which would be a difference between purchase tax as a new dimension e.g. TaxReturnAmount so that in the following example I'd get 2 in February and -1 in March.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Month, Side, TaxAmount&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Jan, Sales, 8&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Jan, Purchase, 10&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Feb, Sales, 5&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Feb, Purchase, 4&lt;/P&gt;&lt;P&gt;Any idea how to calculate it?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Mar 2010 21:25:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-04T21:25:47Z</dc:date>
    <item>
      <title>Tax return</title>
      <link>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168941#M39920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I need to calculate tax return after each month which would be a difference between purchase tax as a new dimension e.g. TaxReturnAmount so that in the following example I'd get 2 in February and -1 in March.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Month, Side, TaxAmount&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Jan, Sales, 8&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Jan, Purchase, 10&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Feb, Sales, 5&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Feb, Purchase, 4&lt;/P&gt;&lt;P&gt;Any idea how to calculate it?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 21:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168941#M39920</guid>
      <dc:creator />
      <dc:date>2010-03-04T21:25:47Z</dc:date>
    </item>
    <item>
      <title>Tax return</title>
      <link>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168942#M39921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like an if statement would work.&lt;/P&gt;&lt;P&gt;= sum(if(Side='Sales',-Taxamount,Taxamount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 22:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168942#M39921</guid>
      <dc:creator />
      <dc:date>2010-03-04T22:31:15Z</dc:date>
    </item>
    <item>
      <title>Tax return</title>
      <link>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168943#M39922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ben, thanks your reply. The key thing in this exercise is to move the result to next month. In your statement it stays in the original one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 08:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tax-return/m-p/168943#M39922</guid>
      <dc:creator />
      <dc:date>2010-03-05T08:16:54Z</dc:date>
    </item>
  </channel>
</rss>

