<?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: Using Autonumber and sort order in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871342#M994451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once I autonumber the a joined field I then load into a resident table and use order by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a quick way to make a resident table from a long list of fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P class="Code"&gt;tab1: &lt;/P&gt;&lt;P class="Code"&gt;Select * from transtable; &lt;/P&gt;&lt;P class="Code"&gt;Load * resident tab1 order by C desc, B asc, 1 desc; &lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Will that work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 13:40:12 GMT</pubDate>
    <dc:creator>tinkerz1</dc:creator>
    <dc:date>2015-07-02T13:40:12Z</dc:date>
    <item>
      <title>Using Autonumber and sort order in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871339#M994448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get an expression in sort order to work, here is my setup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script I have:&lt;/P&gt;&lt;P&gt;Autonumber([ABC]&amp;amp;[DEF]) as Column1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the properties&amp;gt;general&amp;gt;field I select 'Column1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression I set up&lt;/P&gt;&lt;P&gt;Only({1}[ABC])&lt;/P&gt;&lt;P&gt;Only({1}[DEF])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set sort order to by a tick in STATE and Ascending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then an expression in sort&lt;/P&gt;&lt;P&gt;={ABC]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work, and I would like to so by ABC as the primary key and DEF as the secondary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like both selected and not selected in the list to be sorted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 11:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871339#M994448</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-07-02T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using Autonumber and sort order in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871340#M994449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try sorting with =only({1}[ABC])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If I misunderstood you, then please explain in more detail. I'm afraid your post is not all that clear to me.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 11:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871340#M994449</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-02T11:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Autonumber and sort order in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871341#M994450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried =only({1}[ABC]) and its sorts but its not alpabetical, i can not tell what the order is meant to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seems that using autonumber in the load script is affecting the sort order expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to autonumber to create a unique ket into a list box dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want to sort alphabetically by an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can seem to get an expression in sort to work across an unselected expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871341#M994450</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-07-02T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Autonumber and sort order in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871342#M994451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once I autonumber the a joined field I then load into a resident table and use order by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a quick way to make a resident table from a long list of fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P class="Code"&gt;tab1: &lt;/P&gt;&lt;P class="Code"&gt;Select * from transtable; &lt;/P&gt;&lt;P class="Code"&gt;Load * resident tab1 order by C desc, B asc, 1 desc; &lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Will that work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Autonumber-and-sort-order-in-an-expression/m-p/871342#M994451</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-07-02T13:40:12Z</dc:date>
    </item>
  </channel>
</rss>

