<?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 load csv with sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949813#M973687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Could you tell me if possible to load csv file with order by?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 20:37:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-14T20:37:41Z</dc:date>
    <item>
      <title>load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949813#M973687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Could you tell me if possible to load csv file with order by?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949813#M973687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T20:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949814#M973688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think order can only be controlled after loading the file into QV, like below or may be other ways but it has to be loaded first so that QV functions can work - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Data.csv&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Load * Resident Table1 Order By Sales Desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949814#M973688</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-14T20:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949815#M973689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did like you suggested.&lt;/P&gt;&lt;P&gt;In 1 table it's not doable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949815#M973689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T20:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949816#M973690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not posible, "order by" function is only executable in resident &lt;SPAN style="font-size: 13.3333px;"&gt;table&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949816#M973690</guid>
      <dc:creator />
      <dc:date>2015-09-14T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949817#M973691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for confirming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949817#M973691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949818#M973692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, found few similar questions but don't see any direct option of loading and sorting in one go. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949818#M973692</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-14T21:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949819#M973693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"order by is a clause used for sorting the records of a resident table before they are processed by the load statement. The resident table can be sorted by one or more fields in ascending or descending order. " References Manual 11.2 SR12 - Page 255.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949819#M973693</guid>
      <dc:creator />
      <dc:date>2015-09-14T21:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949820#M973694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a precedent load&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: #000000;"&gt;Table1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD Country,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Order By Sales Desc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD Country,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Data.csv&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949820#M973694</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-09-14T21:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949821#M973695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are sure? I understand with &lt;SPAN style="font-size: 13.3333px;"&gt;precedent load &lt;/SPAN&gt;only use function "Where, While and Group By"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949821#M973695</guid>
      <dc:creator />
      <dc:date>2015-09-15T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: load csv with sort</title>
      <link>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949822#M973696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something is wrong. I need to add autonumber based on my sort.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98986_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSV:&lt;/P&gt;&lt;P&gt;LOAD AutoNumber(TimeStamp) as Auto_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SessionID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValidData&lt;/P&gt;&lt;P&gt; ORDER BY SessionId, [TimeStamp] ASC;&lt;/P&gt;&lt;P&gt; LOAD AutoNumber(TimeStamp) as Auto_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SessionID as SessionId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValidData&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1251, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;where match(SessionID,$(vValue));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-csv-with-sort/m-p/949822#M973696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T13:57:44Z</dc:date>
    </item>
  </channel>
</rss>

