<?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 Using nested Set Analysis in expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154734#M31249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the outcome of an expression in the set-statement of a second expression and use the outcome of this second expression in the set-statement of a third expression.&lt;/P&gt;&lt;P&gt;I'm not sure if what I'm trying to do is possible. Has anyone tried this with succes ?&lt;/P&gt;&lt;P&gt;Example of what I'm trying.&lt;/P&gt;&lt;P&gt;suppose you have 2 tables&lt;/P&gt;&lt;P&gt;Table Article&lt;BR /&gt;- field : Product&lt;/P&gt;&lt;P&gt;Table Orders&lt;BR /&gt;- field : Order-number&lt;BR /&gt;- field : Order-line&lt;BR /&gt;- field : Product&lt;BR /&gt;- field : Amount&lt;BR /&gt;- field : Delivery-Date&lt;/P&gt;&lt;P&gt;Now : if someone chooses a Product I want to show all the fields in the table Orders, but only for the last record in this table (for the chosen product). The last record is the record found when you sort the table Orders by Delivery-Date, Order-number, Order-line. So I need to find the last Delivery-Date, for this date I need the last Order-number and for this order-number I need the last order-line. For this orderline I need to display all the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 15:17:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-18T15:17:52Z</dc:date>
    <item>
      <title>Using nested Set Analysis in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154734#M31249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the outcome of an expression in the set-statement of a second expression and use the outcome of this second expression in the set-statement of a third expression.&lt;/P&gt;&lt;P&gt;I'm not sure if what I'm trying to do is possible. Has anyone tried this with succes ?&lt;/P&gt;&lt;P&gt;Example of what I'm trying.&lt;/P&gt;&lt;P&gt;suppose you have 2 tables&lt;/P&gt;&lt;P&gt;Table Article&lt;BR /&gt;- field : Product&lt;/P&gt;&lt;P&gt;Table Orders&lt;BR /&gt;- field : Order-number&lt;BR /&gt;- field : Order-line&lt;BR /&gt;- field : Product&lt;BR /&gt;- field : Amount&lt;BR /&gt;- field : Delivery-Date&lt;/P&gt;&lt;P&gt;Now : if someone chooses a Product I want to show all the fields in the table Orders, but only for the last record in this table (for the chosen product). The last record is the record found when you sort the table Orders by Delivery-Date, Order-number, Order-line. So I need to find the last Delivery-Date, for this date I need the last Order-number and for this order-number I need the last order-line. For this orderline I need to display all the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 15:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154734#M31249</guid>
      <dc:creator />
      <dc:date>2010-05-18T15:17:52Z</dc:date>
    </item>
    <item>
      <title>Using nested Set Analysis in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154735#M31250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using FirstSortedValue, using a combination of all three fields as the sorting order? I haven't tried it, but I think it should work just fine, without all that compexity with nested Set Analysis... Just be careful when you operate wit hyour delivery Date - you want to use the num() portion for the sorting purposes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 15:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154735#M31250</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-05-18T15:25:28Z</dc:date>
    </item>
    <item>
      <title>Using nested Set Analysis in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154736#M31251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried FirstSortedValue and it seems to work.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 07:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-nested-Set-Analysis-in-expressions/m-p/154736#M31251</guid>
      <dc:creator />
      <dc:date>2010-05-19T07:48:24Z</dc:date>
    </item>
  </channel>
</rss>

