<?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: Nested set analysis - dynamic selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10156#M1574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, this works for what i require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 03:49:02 GMT</pubDate>
    <dc:creator>ashleywooldridg</dc:creator>
    <dc:date>2018-06-12T03:49:02Z</dc:date>
    <item>
      <title>Nested set analysis - dynamic selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10154#M1572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a need to get the QTY un-received for the earliest order with a un-received QTY greater than 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another column on the straight table I currently get the next Order Date for this by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Min({$&amp;lt;[PO Unreceived QTY]={'&amp;gt;0'}&amp;gt;}[PO ETA])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use the below to get the [PO Unreceived QTY] for the same order, but this only works when i make the selection for particular items, if not making a selection the returned value is based off all items. I have tried to include and exclude certain Tables and Fields, but this does not seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({$&amp;lt;[PO ETA]={'$(=Min({$&amp;lt;[PO Unreceived QTY]={'&amp;gt;0'}&amp;gt;} [PO ETA]))'}&amp;gt;}[PO Unreceived QTY])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have the Min date value return the line value rather than the value based on the entire data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 00:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10154#M1572</guid>
      <dc:creator>ashleywooldridg</dc:creator>
      <dc:date>2018-06-12T00:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis - dynamic selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10155#M1573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({$&amp;lt;[PO Unreceived QTY] = {'&amp;gt;0'}&amp;gt;} [PO Unreceived QTY], [PO ETA])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 02:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10155#M1573</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T02:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis - dynamic selection</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10156#M1574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, this works for what i require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 03:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-dynamic-selection/m-p/10156#M1574</guid>
      <dc:creator>ashleywooldridg</dc:creator>
      <dc:date>2018-06-12T03:49:02Z</dc:date>
    </item>
  </channel>
</rss>

