<?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 FirstSortedValue Question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-Question/m-p/1773843#M64271</link>
    <description>&lt;P&gt;Hi and Happy 2021 !&lt;/P&gt;&lt;P&gt;I have a question regarding The FirstSortValue function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following Expression :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Forecast Out of Stock Date:&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;=Date(FirstSortedValue(RTWCALENDARDATE, -Aggr( If(($(vForecastCTCBOHProductInvCalculcation)) &amp;gt; 0, -1E10, $(vForecastCTCBOHProductInvCalculcation)), RTWCALENDARDATE)),'MM/DD/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And the following variable :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vForecastBOHProductInvCalculation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;($(vBOHProductInvsFinal))-aggr(Rangesum(Above((IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),$(vForeCastProdTotal),$(vForeCastProdTotal))),0,RowNo())),RTWCALENDARDATE),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;($(vBOHProductInvsFinal))-aggr(Rangesum(Above((IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),$(vForeCastProdTotal),$(vForeCastProdTotal))),0,RowNo())),RTWCALENDARDATE))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each of my locations has a&amp;nbsp; "Forecast Out of Stock Date".&amp;nbsp; I placed this in a table visualization with the name of the location.&lt;/P&gt;&lt;P&gt;The Forecast Out of Stock Date value does not appear in the table - only&amp;nbsp; when I filter on a specific location the expression shows the specific "Forecast Out of Stock Date" for the specific location (works perfect).&lt;/P&gt;&lt;P&gt;Any thoughts ? Jerry&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 08:46:51 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2021-04-02T08:46:51Z</dc:date>
    <item>
      <title>FirstSortedValue Question</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSortedValue-Question/m-p/1773843#M64271</link>
      <description>&lt;P&gt;Hi and Happy 2021 !&lt;/P&gt;&lt;P&gt;I have a question regarding The FirstSortValue function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following Expression :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Forecast Out of Stock Date:&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;=Date(FirstSortedValue(RTWCALENDARDATE, -Aggr( If(($(vForecastCTCBOHProductInvCalculcation)) &amp;gt; 0, -1E10, $(vForecastCTCBOHProductInvCalculcation)), RTWCALENDARDATE)),'MM/DD/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And the following variable :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vForecastBOHProductInvCalculation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;($(vBOHProductInvsFinal))-aggr(Rangesum(Above((IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),$(vForeCastProdTotal),$(vForeCastProdTotal))),0,RowNo())),RTWCALENDARDATE),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;($(vBOHProductInvsFinal))-aggr(Rangesum(Above((IF(Num#(Date(RTWCALENDARDATE,'YYYYMMDD'),'0') &amp;gt; $(vForecastDateStartNumeric),$(vForeCastProdTotal),$(vForeCastProdTotal))),0,RowNo())),RTWCALENDARDATE))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each of my locations has a&amp;nbsp; "Forecast Out of Stock Date".&amp;nbsp; I placed this in a table visualization with the name of the location.&lt;/P&gt;&lt;P&gt;The Forecast Out of Stock Date value does not appear in the table - only&amp;nbsp; when I filter on a specific location the expression shows the specific "Forecast Out of Stock Date" for the specific location (works perfect).&lt;/P&gt;&lt;P&gt;Any thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSortedValue-Question/m-p/1773843#M64271</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-04-02T08:46:51Z</dc:date>
    </item>
  </channel>
</rss>

