<?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 script- order by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-order-by/m-p/987451#M957727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to produce a wallboard in Crystal Report, and it will be far easier for me to prepare the source information in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a simple table, that lists sales order code, and a carriage charge.&lt;/P&gt;&lt;P&gt;Some of the sales order codes are text, but Crystal is importing the field as numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am using QlikView so create a CSV, that Crystal can them automatically import.&lt;/P&gt;&lt;P&gt;The field &lt;SPAN style="text-decoration: underline;"&gt;IS_DROPSHIP&lt;/SPAN&gt; is &lt;SPAN style="text-decoration: underline;"&gt;Y&lt;/SPAN&gt; or &lt;SPAN style="text-decoration: underline;"&gt;N&lt;/SPAN&gt;, and I an trying to sort the outputted CSV so the Y is always listed first, which I can do below, but I can't figure out a way to then STORE the CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;Any help would be appreciated thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;LOAD IS_DROPSHIP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORDER_CODE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTALCHARGE&lt;/P&gt;&lt;P&gt;FROM [---file.qvd](qvd)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident Temp1 Order By IS_DROPSHIP asc;&lt;/P&gt;&lt;P&gt;store Temp1 into "---file.csv"(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script works, but the &lt;SPAN style="text-decoration: underline;"&gt;Order By&lt;/SPAN&gt; is ignored&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 08:47:35 GMT</pubDate>
    <dc:creator>mattbrain</dc:creator>
    <dc:date>2015-10-29T08:47:35Z</dc:date>
    <item>
      <title>Load script- order by</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-order-by/m-p/987451#M957727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to produce a wallboard in Crystal Report, and it will be far easier for me to prepare the source information in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a simple table, that lists sales order code, and a carriage charge.&lt;/P&gt;&lt;P&gt;Some of the sales order codes are text, but Crystal is importing the field as numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am using QlikView so create a CSV, that Crystal can them automatically import.&lt;/P&gt;&lt;P&gt;The field &lt;SPAN style="text-decoration: underline;"&gt;IS_DROPSHIP&lt;/SPAN&gt; is &lt;SPAN style="text-decoration: underline;"&gt;Y&lt;/SPAN&gt; or &lt;SPAN style="text-decoration: underline;"&gt;N&lt;/SPAN&gt;, and I an trying to sort the outputted CSV so the Y is always listed first, which I can do below, but I can't figure out a way to then STORE the CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;Any help would be appreciated thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;LOAD IS_DROPSHIP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORDER_CODE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOTALCHARGE&lt;/P&gt;&lt;P&gt;FROM [---file.qvd](qvd)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident Temp1 Order By IS_DROPSHIP asc;&lt;/P&gt;&lt;P&gt;store Temp1 into "---file.csv"(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script works, but the &lt;SPAN style="text-decoration: underline;"&gt;Order By&lt;/SPAN&gt; is ignored&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 08:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-order-by/m-p/987451#M957727</guid>
      <dc:creator>mattbrain</dc:creator>
      <dc:date>2015-10-29T08:47:35Z</dc:date>
    </item>
  </channel>
</rss>

