<?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 Nested set in a set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157767#M505085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this edit of your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=min( {$&amp;lt; SortOrder = {'$(=minstring({$&amp;lt; MeetingType = {'Coming'}&amp;gt;} SortOrder))'} &amp;gt;} [Date Start])&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2009 19:49:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-14T19:49:31Z</dc:date>
    <item>
      <title>Nested set in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157766#M505084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all!&lt;/P&gt;&lt;P&gt;There are a lot of posts on SET analysis out there now, but really none covering the idea of nesting a SET expression into another SET expression.&lt;/P&gt;&lt;P&gt;I will get right down to my problem. I am trying to select the next coming start date of a meeting (from a .xls-calendar). If I select MeetingType = 'Coming', I see all coming meetings. I have a separate SortOrder to show which one is next in line.&lt;/P&gt;&lt;P&gt;The main problem is that I can't get the following expression to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=min( {$&amp;lt; SortOrder = {"=minstring({$&amp;lt; MeetingType = {'Coming'}&amp;gt;} SortOrder)"} &amp;gt;} [Date Start])&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Making a quick debugging, the following code DOES work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=minstring({$&amp;lt; MeetingType = {'Coming'}&amp;gt;} SortOrder)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It shows the SortOrder I want to select to get my [Date Start].Of course, the SortOrder is linked to the [Date Start]&lt;/P&gt;&lt;P&gt;If I do all selections manually, that would be first selecting MeetingType="Coming", then the lowest SortOrder, then the lowest [Date Start], which is what I'm after, and that works just fine.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincere regards&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 18:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157766#M505084</guid>
      <dc:creator />
      <dc:date>2009-08-14T18:31:52Z</dc:date>
    </item>
    <item>
      <title>Nested set in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157767#M505085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this edit of your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=min( {$&amp;lt; SortOrder = {'$(=minstring({$&amp;lt; MeetingType = {'Coming'}&amp;gt;} SortOrder))'} &amp;gt;} [Date Start])&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 19:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157767#M505085</guid>
      <dc:creator />
      <dc:date>2009-08-14T19:49:31Z</dc:date>
    </item>
    <item>
      <title>Nested set in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157768#M505086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks! As much as it pleases me to finally have the solution, I can't help but hit my head repeatedly on the keyboard for not trying with ' instead of " during my testing of a VERY similar solution.&lt;/P&gt;&lt;P&gt;Much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 20:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-in-a-set-expression/m-p/157768#M505086</guid>
      <dc:creator />
      <dc:date>2009-08-14T20:06:49Z</dc:date>
    </item>
  </channel>
</rss>

