<?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: Net Calulation Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895504#M654054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avoid calculating the sum twice with:&lt;/P&gt;&lt;P&gt;=Sum(If(Debit_Credit_Indicator='H', -1, 1) * Amt_Local_Curr)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 06:01:49 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-07-07T06:01:49Z</dc:date>
    <item>
      <title>Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895500#M654050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my condition for the Net cal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;P&gt; If MSEG-SHKZG = &lt;STRONG&gt;H&lt;/STRONG&gt;, MSEG-DMBTR is negative (i.e. MSEG-DMBTR is 9.207,87 the value to calculate with is –9.207,87) &lt;/P&gt;&lt;P&gt;If MSEG-SHKZG = &lt;STRONG&gt;S&lt;/STRONG&gt;, MSEG-DMBTR is positive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get for each entry selected MSEG-DMBTR and convert to either negative or positive value.&lt;/P&gt;&lt;P&gt;Calculate the converted values to a net total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-roman;"&gt;&lt;LI&gt;I.e. -100 + 50 = -50&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying for something like below for the Calculation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Debit_Credit_Indicator='H',- sum(Amt_Local_Curr), if(Debit_Credit_Indicator='S',sum(Amt_Local_Curr)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions to calculate in the best way???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895500#M654050</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-07-07T05:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895501#M654051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please see the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895501#M654051</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-07T05:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895502#M654052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;can remove 2 nd if right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Debit_Credit_Indicator='H',- sum(Amt_Local_Curr),sum(Amt_Local_Curr))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895502#M654052</guid>
      <dc:creator />
      <dc:date>2015-07-07T05:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895503#M654053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur case output should be +500 not -300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895503#M654053</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-07-07T05:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895504#M654054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avoid calculating the sum twice with:&lt;/P&gt;&lt;P&gt;=Sum(If(Debit_Credit_Indicator='H', -1, 1) * Amt_Local_Curr)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895504#M654054</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-07T06:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895505#M654055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes for sure you can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895505#M654055</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-07-07T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895506#M654056</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;Try like this using set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Debit_Credit_Indicator={'H'}&lt;/SPAN&gt;&amp;gt;} Amt_Local_Curr) + sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Debit_Credit_Indicator={'S'}&lt;/SPAN&gt;&amp;gt;}Amt_Local_Curr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895506#M654056</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-07T06:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895507#M654057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan!&lt;/P&gt;&lt;P&gt;looks to me this is right approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895507#M654057</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-07-07T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Net Calulation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895508#M654058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Net-Calulation-Help/m-p/895508#M654058</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-07-07T06:08:35Z</dc:date>
    </item>
  </channel>
</rss>

