<?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: Getting error while using Order by Desc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680662#M1076920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order by is not working with ordinary load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load it again as resident then it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_SS:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; INVOICENUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE STEP CREATED DERIVED] &lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; a.QVD(qvd)&lt;/P&gt;&lt;P&gt;where STEPNAME='Complete PeopleSoft Process';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; INVOICENUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE STEP CREATED DERIVED] &lt;/P&gt;&lt;P&gt;Resident Map_SS&lt;/P&gt;&lt;P&gt;order by [DATE STEP CREATED DERIVED] desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Waghole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 12:39:46 GMT</pubDate>
    <dc:creator>VishalWaghole</dc:creator>
    <dc:date>2014-07-30T12:39:46Z</dc:date>
    <item>
      <title>Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680659#M1076917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I have a piece of code as below&lt;/P&gt;&lt;P&gt;Map_SS:&lt;BR /&gt;Load&lt;BR /&gt;INVOICENUMBER,&lt;BR /&gt;[DATE STEP CREATED DERIVED] &lt;BR /&gt;FROM&amp;nbsp; a.QVD(qvd)&lt;BR /&gt;where STEPNAME='Complete PeopleSoft Process' order by [DATE STEP CREATED DERIVED] desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_STEP_CREATED_DERIVED:&lt;/P&gt;&lt;P&gt;Mapping LOAD * Resident Map_SS;&lt;BR /&gt;drop table Map_SS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While loading it is giving an error message stating Garbage after statement.&lt;/P&gt;&lt;P&gt;Could anyone please help me how to use Order by desc here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sonali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680659#M1076917</guid>
      <dc:creator />
      <dc:date>2014-07-30T12:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680660#M1076918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;order by does only work in resident load &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680660#M1076918</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2014-07-30T12:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680661#M1076919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so just load your table resident and drop the original&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680661#M1076919</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2014-07-30T12:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680662#M1076920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order by is not working with ordinary load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load it again as resident then it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_SS:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; INVOICENUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE STEP CREATED DERIVED] &lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; a.QVD(qvd)&lt;/P&gt;&lt;P&gt;where STEPNAME='Complete PeopleSoft Process';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; INVOICENUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE STEP CREATED DERIVED] &lt;/P&gt;&lt;P&gt;Resident Map_SS&lt;/P&gt;&lt;P&gt;order by [DATE STEP CREATED DERIVED] desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Waghole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680662#M1076920</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-30T12:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680663#M1076921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Order by clause will work only in the resident table then try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp_Map_SS:&lt;BR /&gt;Load&lt;BR /&gt;INVOICENUMBER,&lt;BR /&gt;[DATE STEP CREATED DERIVED] &lt;BR /&gt;FROM&amp;nbsp; a.QVD(qvd);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Noconcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Map_SS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;BR /&gt;INVOICENUMBER,&lt;BR /&gt;[DATE STEP CREATED DERIVED] &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Temp_Map_SS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where STEPNAME='Complete &lt;SPAN class="d4ey8s3ul5" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-style: inherit; font-family: inherit; text-decoration: underline; color: #009900 !important;"&gt;PeopleSoft&lt;/SPAN&gt; Process' order by [DATE STEP CREATED DERIVED] desc;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Temp_Map_SS&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DATE_STEP_CREATED_DERIVED:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping LOAD * Resident Map_SS;&lt;BR /&gt;&lt;SPAN class="d4ey8s3ul5" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-style: inherit; font-family: inherit; text-decoration: underline; color: #009900 !important;"&gt;drop table&lt;/SPAN&gt; Map_SS;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680663#M1076921</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-30T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680664#M1076922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see first answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680664#M1076922</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2014-07-30T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680665#M1076923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sonali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And another way for this is in resident load make the table as Mapping table see the script below and try this code also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp_Map_SS:&lt;BR /&gt;Load&lt;BR /&gt;INVOICENUMBER,&lt;BR /&gt;[DATE STEP CREATED DERIVED] &lt;BR /&gt;FROM&amp;nbsp; a.QVD(qvd);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Noconcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DATE_STEP_CREATED_DERIVED:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Mapping Load&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;INVOICENUMBER,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[DATE STEP CREATED DERIVED] &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Temp_Map_SS&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;where STEPNAME='Complete &lt;SPAN class="d4ey8s3ul5" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-style: inherit; font-family: inherit; text-decoration: underline; color: #009900 !important;"&gt;PeopleSoft&lt;/SPAN&gt; Process' order by [DATE STEP CREATED DERIVED] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Temp_Map_SS&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680665#M1076923</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-30T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680666#M1076924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You All For Your Reply.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680666#M1076924</guid>
      <dc:creator />
      <dc:date>2014-07-30T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while using Order by Desc</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680667#M1076925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most Welcome Sonali &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-error-while-using-Order-by-Desc/m-p/680667#M1076925</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-30T12:59:31Z</dc:date>
    </item>
  </channel>
</rss>

