<?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: Get only last suborder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890789#M310333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 06:54:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-16T06:54:38Z</dc:date>
    <item>
      <title>Get only last suborder</title>
      <link>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890787#M310331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ordertable that contains original orders (-00) and subsequent suborders (-XX), something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4110400&lt;/P&gt;&lt;P&gt;4110401&lt;/P&gt;&lt;P&gt;4110402&lt;/P&gt;&lt;P&gt;4221100&lt;/P&gt;&lt;P&gt;4223300&lt;/P&gt;&lt;P&gt;4224400&lt;/P&gt;&lt;P&gt;4224401&lt;/P&gt;&lt;P&gt;4224402&lt;/P&gt;&lt;P&gt;4224403&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;41104-00&lt;/P&gt;&lt;P&gt;41104-01&lt;/P&gt;&lt;P&gt;41104-02&lt;/P&gt;&lt;P&gt;42211-00&lt;/P&gt;&lt;P&gt;42233-00&lt;/P&gt;&lt;P&gt;42244-00&lt;/P&gt;&lt;P&gt;42244-01&lt;/P&gt;&lt;P&gt;42244-02&lt;/P&gt;&lt;P&gt;42244-03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to render the following only loading the maximum of the suborders where exists or the orginalorder where suborderdoesn't exist, with the resulting table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;41104-02&lt;/P&gt;&lt;P&gt;42211-00&lt;/P&gt;&lt;P&gt;42233-00&lt;/P&gt;&lt;P&gt;42244-03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact lower numbered suborders are not of interest loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about solving this (scripting this), to render the table with only the highest order suffix ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; BR,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890787#M310331</guid>
      <dc:creator />
      <dc:date>2015-06-15T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get only last suborder</title>
      <link>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890788#M310332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="color: #800080;"&gt;FirstsortedValue&lt;/SPAN&gt;(&lt;SPAN style="color: #008000;"&gt;Test&lt;/SPAN&gt;,-&lt;SPAN style="color: #800080;"&gt;subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #008000;"&gt;Test&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;'-'&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;2&lt;/SPAN&gt;)) &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #008000;"&gt;Test&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;INLINE&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #008000;"&gt;[&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12pt;"&gt; Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;41104-00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;41104-01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;41104-02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42211-00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42233-00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42244-00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42244-01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42244-02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;42244-03&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Group&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;by&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #008000;"&gt;Test&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;'-'&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or in the first case, use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;FirstsortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Test&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,-&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Test&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;as&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;INLINE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4110400&lt;/P&gt;&lt;P&gt;4110401&lt;/P&gt;&lt;P&gt;4110402&lt;/P&gt;&lt;P&gt;4221100&lt;/P&gt;&lt;P&gt;4223300&lt;/P&gt;&lt;P&gt;4224400&lt;/P&gt;&lt;P&gt;4224401&lt;/P&gt;&lt;P&gt;4224402&lt;/P&gt;&lt;P&gt;4224403&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Group&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;by&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Test&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890788#M310332</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-15T15:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get only last suborder</title>
      <link>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890789#M310333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-only-last-suborder/m-p/890789#M310333</guid>
      <dc:creator />
      <dc:date>2015-06-16T06:54:38Z</dc:date>
    </item>
  </channel>
</rss>

