<?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: ORDER BY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570243#M212472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need the order by on the fields not the field values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 05:56:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-14T05:56:13Z</dc:date>
    <item>
      <title>ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570235#M212464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;greetings &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a QVD file i need to order the fields names by ABC &lt;/P&gt;&lt;P&gt;any simple way to do this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 07:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570235#M212464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-13T07:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570236#M212465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load * From [QVDName.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Order By ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want in desc order&lt;/P&gt;&lt;P&gt;Order By ABC Desc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 07:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570236#M212465</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-13T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570237#M212466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is an example, adapt to your qvd &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;LOAD Name,&amp;nbsp;&amp;nbsp;&amp;nbsp; Address&lt;/P&gt;&lt;P&gt;FROM Name.qvd (qvd)&lt;/P&gt;&lt;P&gt;//order by Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;this doesn't work&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;NoConcatenate Load&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;resident Tmp&lt;/P&gt;&lt;P&gt;order by Name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from online help&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="kanchor808"&gt;&lt;/A&gt;&lt;A name="order_by"&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt;&lt;STRONG&gt;order by&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; is a clause used for sorting the records of a resident table&lt;/STRONG&gt; before they are processed by the &lt;SPAN style="color: #ffffff; background-color: #0a246a;"&gt;load&lt;/SPAN&gt; statement. The resident table can be sorted by one or more fields in ascending or descending order. The sorting is made primarily by numeric value and secondarily by national ASCII value. This clause may only be used when the data source is a resident table. The ordering fields specify which fields the resident table is sorted by. The field can be specified by its name or by its number in the resident table (the first field is number 1).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 09:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570237#M212466</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-13T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570238#M212467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't need the sort on the records but on the table fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="287"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;a&lt;/TD&gt;&lt;TD width="95"&gt;b&lt;/TD&gt;&lt;TD width="64"&gt;d&lt;/TD&gt;&lt;TD width="64"&gt;c&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;adam&lt;/TD&gt;&lt;TD&gt;brother&lt;/TD&gt;&lt;TD&gt;boy&lt;/TD&gt;&lt;TD align="right"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need the QVD file to be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="287"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;a&lt;/TD&gt;&lt;TD width="95"&gt;b&lt;/TD&gt;&lt;TD width="64"&gt;c&lt;/TD&gt;&lt;TD width="64"&gt;d&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;adam&lt;/TD&gt;&lt;TD&gt;brother&lt;/TD&gt;&lt;TD align="right"&gt;23&lt;/TD&gt;&lt;TD&gt;boy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;first a - b - c- d-&amp;nbsp; and not a-b-d-c-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 10:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570238#M212467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-13T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570239#M212468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need to sort the field names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you can just state the order in your load, instead of using the star symbol *:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d&lt;/P&gt;&lt;P&gt;FROM YourFile.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 13:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570239#M212468</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-13T13:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570240#M212469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know but the problem is i have about 30 tables and each table has more that 150 fields so arranging them manually wont work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570240#M212469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T05:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570241#M212470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extract them in excel and sort there; copy-paste the sorted fields back in qv script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570241#M212470</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-14T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570242#M212471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load * from qvd;&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load * resident Temp&lt;/P&gt;&lt;P&gt;order by fieldname;&lt;/P&gt;&lt;P&gt;drop table Temp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570242#M212471</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-04-14T05:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: ORDER BY</title>
      <link>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570243#M212472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need the order by on the fields not the field values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ORDER-BY/m-p/570243#M212472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T05:56:13Z</dc:date>
    </item>
  </channel>
</rss>

