<?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 QVD file Sorting order. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568081#M1120016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;When i am reading(loading) data from QVD files, Sorting (Order by &amp;lt;Column Name&amp;gt;) possible?. i am not using into Residential load.&lt;/P&gt;&lt;P&gt;For Ex,&lt;/P&gt;&lt;P&gt;Load … from customer.qvd(qvd)&lt;/P&gt;&lt;P&gt;Order by Order_DT_Ev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 09:21:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-11T09:21:58Z</dc:date>
    <item>
      <title>QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568081#M1120016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;When i am reading(loading) data from QVD files, Sorting (Order by &amp;lt;Column Name&amp;gt;) possible?. i am not using into Residential load.&lt;/P&gt;&lt;P&gt;For Ex,&lt;/P&gt;&lt;P&gt;Load … from customer.qvd(qvd)&lt;/P&gt;&lt;P&gt;Order by Order_DT_Ev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568081#M1120016</guid>
      <dc:creator />
      <dc:date>2014-02-11T09:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568082#M1120017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No ... Order by works only in Residential load ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568082#M1120017</guid>
      <dc:creator />
      <dc:date>2014-02-11T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568083#M1120018</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;You can use order by only in Resident load only.&amp;nbsp; If you want to use order by then load QVD data into temporary table and then using resident load sort the data and then drop the temporary table.&amp;nbsp; Check the script below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM FileName.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;RESIDENT TempTable&lt;/P&gt;&lt;P&gt;ORDER BY Field1, Field2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568083#M1120018</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-02-11T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568084#M1120019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;Sorting (ORDER BY) is only possible with Resident (already in memory) files. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;Sorting is not possible when reading from files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;You could add a sort order before Storing the data in the QVD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: tahoma, 'Trebuchet MS', lucida, helvetica, sans-serif;"&gt;Michael&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568084#M1120019</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-11T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568085#M1120020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load … from customer.qvd(qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order by [Order_DT_Ev.] asc&amp;nbsp; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 09:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568085#M1120020</guid>
      <dc:creator />
      <dc:date>2014-02-11T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568086#M1120021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a trick&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load * Order By FieldName;&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;"&gt;Load ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;from customer.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sokkorn&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 10:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568086#M1120021</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-11T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568087#M1120022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;I attempt your script but I am unsuccessful customer is not ascending order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;Raja.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 10:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568087#M1120022</guid>
      <dc:creator />
      <dc:date>2014-02-11T10:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568088#M1120023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sokkom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 10:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568088#M1120023</guid>
      <dc:creator />
      <dc:date>2014-02-11T10:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file Sorting order.</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568089#M1120024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 10:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-Sorting-order/m-p/568089#M1120024</guid>
      <dc:creator />
      <dc:date>2014-02-11T10:22:33Z</dc:date>
    </item>
  </channel>
</rss>

