<?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: Why I can't use an Order By clausule in a qvd load? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95375#M603191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really don't know the proper answer. But, We can expect something from &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/rwunderlich"&gt;rwunderlich&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 00:35:17 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-08-09T00:35:17Z</dc:date>
    <item>
      <title>Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95372#M603186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know it is not possible, but I just want to know the design reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 15:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95372#M603186</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2018-08-01T15:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95373#M603187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this way &lt;/P&gt;&lt;P&gt;ssample code looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from C:\QlickView\Dashboard\PATIENTLEVELDATA_4.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PATIENTLEVELDATA:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&amp;nbsp; *,1 as Flag&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Temp Order By RECDATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 15:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95373#M603187</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-08-01T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95374#M603189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;LOAD [QWT Budget], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F4, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F5, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F6, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F7&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;RESIDENT TempTable&lt;/P&gt;&lt;P&gt;ORDER BY F2;&lt;/P&gt;&lt;P&gt;exit Script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 15:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95374#M603189</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-08-01T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95375#M603191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really don't know the proper answer. But, We can expect something from &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/rwunderlich"&gt;rwunderlich&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 00:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95375#M603191</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-08-09T00:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95376#M603192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this could be the reason you cannot do an order by with field list on a qvd load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ref: &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/QVD_files.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/QVD_files.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/QVD_files.htm&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;STRONG&gt;A QVD file holds exactly one data table and consists of three parts:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;LI&gt;&lt;STRONG&gt;A well formed XML header (in UTF-8 char set) describing the fields in the table, the layout of the subsequent information and some other meta-data.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Symbol tables in a byte stuffed format.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Actual table data in a bit-stuffed format.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you load the table from qvd it will do an optimized load if no conditions were given. Then after you load qvd into a table using Resident load as the table is already loaded into memory as a standard table on which you can do an order by to sort. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i believe that happens internally. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 00:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95376#M603192</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-09T00:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use an Order By clausule in a qvd load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95377#M603193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This behaviour is not directly related to a qvd-load else to each load of external data. The reason is the special data-format in which qlik the data reads and stores which is internally the same as in qvd's - see here the comment from &lt;A href="https://community.qlik.com/qlik-users/98547"&gt;vishsaggi&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means there are not really data on a record-level else the record contained only the pointers to the symbol-tables. I think the load-statement could logically be extended with some intermediate steps (each tool/logic will need at least one intermediate step) to cover this measure - but I believe it would be much slower as loading the data first and order them within a second step (resident load). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For convenience it might be included within the load-parameters and then trigger a hidden load with a temporary table but in my opinion it wouldn't be really useful because it would hide an important part of the qlik mechanics for the user - and this understanding is an essential part to build datamodels properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 10:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-I-can-t-use-an-Order-By-clausule-in-a-qvd-load/m-p/95377#M603193</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-08-09T10:54:41Z</dc:date>
    </item>
  </channel>
</rss>

