<?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: Display Date when Balance-on-Hand is less than zero (first occurance) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739211#M56534</link>
    <description>&lt;P&gt;HI - I have a couple tried a couple of variations of the above but no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;any thoughts ??? Thanks so much - Jerry&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 15:16:43 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2020-08-27T15:16:43Z</dc:date>
    <item>
      <title>Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738439#M56452</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following formula in a KPI :&lt;/P&gt;&lt;P&gt;=MIN(($(vBOHProductFinal))-aggr(Rangesum(Above(($(vForeCastProductTotal)),0,RowNo())),PSALECALENDARDATE))&lt;/P&gt;&lt;P&gt;This displays the FINAL negative value of the BOH Products over the dates (one year of dates)&lt;/P&gt;&lt;P&gt;I would like to display the actual date when the BOH Product goes from positive to negative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks - Jerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738439#M56452</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-25T12:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738451#M56453</link>
      <description>&lt;P&gt;May be this, might need to change a little bit, but the idea is to use First Sorted Value function&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FirstSortedValue(PSALECALENDARDATE, Aggr(($(vBOHProductFinal))-aggr(Rangesum(Above(($(vForeCastProductTotal)),0,RowNo())),PSALECALENDARDATE), PSALECALENDARDATE))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738451#M56453</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-25T12:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738480#M56456</link>
      <description>&lt;P&gt;HI - unfortunately that did not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; any other thoughts ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 13:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738480#M56456</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-25T13:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738729#M56469</link>
      <description>&lt;P&gt;Hi - any other thoughts ?&lt;BR /&gt;- Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 08:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1738729#M56469</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-26T08:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739211#M56534</link>
      <description>&lt;P&gt;HI - I have a couple tried a couple of variations of the above but no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;any thoughts ??? Thanks so much - Jerry&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739211#M56534</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-27T15:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739220#M56535</link>
      <description>&lt;P&gt;Please share a sample data with expected output&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739220#M56535</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-27T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739241#M56536</link>
      <description>&lt;P&gt;Hi - thank you.&lt;/P&gt;&lt;P&gt;Here is an example of my data&amp;nbsp; below.&lt;/P&gt;&lt;P&gt;The data is in a table chart.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Forecast Balance on Hand is a master measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;($(vProductBOHFinal))-aggr(Rangesum(Above(($(vProductForeCastTotal)),0,RowNo())),SALECALENDARDATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I tried this :&lt;/P&gt;&lt;P&gt;=MIN(($(vProductBOHFinal))-aggr(Rangesum(Above(($(vProductForeCastTotal)),0,RowNo())),SALECALENDARDATE)) and it returns the last value of the table chart below:&lt;/P&gt;&lt;P&gt;-4600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to actually return the first date in which the forecast balance is negative - hence 08/30/2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="528"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="91"&gt;Date&lt;/TD&gt;&lt;TD width="167"&gt;Forecast Daily usage&lt;/TD&gt;&lt;TD width="109"&gt;Cumulative Usage&lt;/TD&gt;&lt;TD width="161"&gt;Forecast Balance on Hand&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/27/2020&lt;/TD&gt;&lt;TD&gt;3,100&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;10,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/28/2020&lt;/TD&gt;&lt;TD&gt;4,000&lt;/TD&gt;&lt;TD&gt;7,100&lt;/TD&gt;&lt;TD&gt;2,900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/29/2020&lt;/TD&gt;&lt;TD&gt;1,000&lt;/TD&gt;&lt;TD&gt;8,100&lt;/TD&gt;&lt;TD&gt;1,900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/30/2020&lt;/TD&gt;&lt;TD&gt;2,200&lt;/TD&gt;&lt;TD&gt;10,300&lt;/TD&gt;&lt;TD&gt;-300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/31/2020&lt;/TD&gt;&lt;TD&gt;2,500&lt;/TD&gt;&lt;TD&gt;12,800&lt;/TD&gt;&lt;TD&gt;-2,800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9/1/2020&lt;/TD&gt;&lt;TD&gt;1,800&lt;/TD&gt;&lt;TD&gt;14,600&lt;/TD&gt;&lt;TD&gt;-4,600&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 27 Aug 2020 16:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739241#M56536</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-27T16:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739750#M56605</link>
      <description>&lt;P&gt;Hi any thoughts ? is this possible ? Jerry&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 07:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1739750#M56605</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-08-31T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1740643#M56693</link>
      <description>&lt;P&gt;Hi - I am still a little puzzled on this formula.&amp;nbsp; Perhaps a 'FirstSortedValue' and if statement - any thoughts ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 13:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1740643#M56693</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-09-02T13:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1741062#M56739</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried something like this - no luck :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(Aggr(($(vBOHProductFinal))-aggr(Rangesum(Above(($(vForeCastProductTotal)),0,RowNo())) &amp;lt; 0,FirstSortedValue(PALENDARDATE, Aggr(($(vBOHProductFinal))-aggr(Rangesum(Above(($(vForeCastProductTotal)),0,RowNo())),PCALENDARDATE), PCALENDARDATE)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 16:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1741062#M56739</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-09-03T16:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Display Date when Balance-on-Hand is less than zero (first occurance)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1742301#M56828</link>
      <description>&lt;P&gt;Hi - I am still stuck on this one - any thoughts / luck ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 08:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Date-when-Balance-on-Hand-is-less-than-zero-first/m-p/1742301#M56828</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-09-09T08:37:43Z</dc:date>
    </item>
  </channel>
</rss>

