<?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 Stock Aging Report -Adding debit values to another credit field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515022#M1141424</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 hoping someone can help with this,it is really urgent. I have&amp;nbsp; attached a print screen of the data as it is showing currently on a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a negative value in the current month&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current:&lt;/STRONG&gt; -120&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month 1:&lt;/STRONG&gt; 579&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not reflect the negative values on a field, so it is hard coded out, the problem is that I need to subtract that value from the previous month with a positive value, in this case it is one month only but it it may be that there are 6 months between the months, there may even be two months with negative values that need to be offset against a positive field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worst case scenario something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current: - 120&lt;/P&gt;&lt;P&gt;Month1: 0&lt;/P&gt;&lt;P&gt;Month2: -130&lt;/P&gt;&lt;P&gt;Month3: 0&lt;/P&gt;&lt;P&gt;Month4: 15&lt;/P&gt;&lt;P&gt;Month5: 300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your result must be &lt;/P&gt;&lt;P&gt;Current: 0(this I am already doing)&lt;/P&gt;&lt;P&gt;Month1: 0&lt;/P&gt;&lt;P&gt;Month2: 0(this I am already doing)&lt;/P&gt;&lt;P&gt;Month3: 0&lt;/P&gt;&lt;P&gt;Month4: 0&lt;/P&gt;&lt;P&gt;Month5: 165&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 11:01:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-12T11:01:56Z</dc:date>
    <item>
      <title>Stock Aging Report -Adding debit values to another credit field</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515022#M1141424</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 hoping someone can help with this,it is really urgent. I have&amp;nbsp; attached a print screen of the data as it is showing currently on a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a negative value in the current month&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current:&lt;/STRONG&gt; -120&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month 1:&lt;/STRONG&gt; 579&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not reflect the negative values on a field, so it is hard coded out, the problem is that I need to subtract that value from the previous month with a positive value, in this case it is one month only but it it may be that there are 6 months between the months, there may even be two months with negative values that need to be offset against a positive field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worst case scenario something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current: - 120&lt;/P&gt;&lt;P&gt;Month1: 0&lt;/P&gt;&lt;P&gt;Month2: -130&lt;/P&gt;&lt;P&gt;Month3: 0&lt;/P&gt;&lt;P&gt;Month4: 15&lt;/P&gt;&lt;P&gt;Month5: 300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your result must be &lt;/P&gt;&lt;P&gt;Current: 0(this I am already doing)&lt;/P&gt;&lt;P&gt;Month1: 0&lt;/P&gt;&lt;P&gt;Month2: 0(this I am already doing)&lt;/P&gt;&lt;P&gt;Month3: 0&lt;/P&gt;&lt;P&gt;Month4: 0&lt;/P&gt;&lt;P&gt;Month5: 165&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515022#M1141424</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Aging Report -Adding debit values to another credit field</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515023#M1141425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can probably not be done on the imports as I needed to build in flexibility, example changing you maximum day to any month. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515023#M1141425</guid>
      <dc:creator />
      <dc:date>2013-09-12T12:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Aging Report -Adding debit values to another credit field</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515024#M1141426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this tutorial for peek(): &lt;A href="https://www.tutorialspoint.com/qlikview/qlikview_peek_function.htm" title="https://www.tutorialspoint.com/qlikview/qlikview_peek_function.htm"&gt;QlikView Peek Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It might help if you prepare a "running total" column which reflects the true negative value (which in you example are the real values behind "Current" &amp;amp; "Month 2"). This will allow you to display "0" for both these months, but also keep track of when you rise above "0" again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 11:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515024#M1141426</guid>
      <dc:creator />
      <dc:date>2016-12-22T11:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Aging Report -Adding debit values to another credit field</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515025#M1141427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="4073" data-objecttype="102" href="https://community.qlik.com/docs/DOC-4073" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Peek() vs Previous() – When to Use Each&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 06:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Aging-Report-Adding-debit-values-to-another-credit-field/m-p/515025#M1141427</guid>
      <dc:creator>ysj</dc:creator>
      <dc:date>2018-02-13T06:59:10Z</dc:date>
    </item>
  </channel>
</rss>

