<?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 Sorting Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473207#M176750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone - hope someone can help this is driving me up the wall &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I want to do is sort the contents of a QVD I load into my dashboard by date (in my context it will be createdon). First I tried to use the ORDER BY statement at the end of my load statement but I understand it doesn't work unless you are using resident. So I tried this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CR: &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; crid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createdon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;QVD/campaingresponses.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CampaignResponse:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Resident CR &lt;/P&gt;&lt;P&gt;ORDER BY createdon asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE CR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping that would leave me with a table called CampaignResponse with the data nicely sorted. Not so apparently I can't see any table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally what I am trying to achieve is simply a chartshowing the&amp;nbsp; number of "campaign responses" using MM/YYYY as a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 10:25:59 GMT</pubDate>
    <dc:creator>stuwannop</dc:creator>
    <dc:date>2013-06-14T10:25:59Z</dc:date>
    <item>
      <title>Sorting Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473207#M176750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone - hope someone can help this is driving me up the wall &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I want to do is sort the contents of a QVD I load into my dashboard by date (in my context it will be createdon). First I tried to use the ORDER BY statement at the end of my load statement but I understand it doesn't work unless you are using resident. So I tried this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CR: &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; crid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createdon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;QVD/campaingresponses.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CampaignResponse:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Resident CR &lt;/P&gt;&lt;P&gt;ORDER BY createdon asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE CR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping that would leave me with a table called CampaignResponse with the data nicely sorted. Not so apparently I can't see any table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally what I am trying to achieve is simply a chartshowing the&amp;nbsp; number of "campaign responses" using MM/YYYY as a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473207#M176750</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-06-14T10:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473208#M176751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think a 'NoConcatenate' just before your resident load will help you out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extract of Qlikview Manual:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The NoConcatenate prefix forces two tables with identical field sets (i.e. they would normally be concatenated automatically) to be treated as two separate internal tables.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473208#M176751</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-06-14T10:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473209#M176752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Florian that seems to work. It didn't solve my ulitimate problem but that's the solution to make sure the table doesn't get dropped. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473209#M176752</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-06-14T11:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473210#M176753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess &lt;EM&gt;createdon&lt;/EM&gt; is your date field? Try to add a new field in your resident load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13712098051432410" jivemacro_uid="_13712098051432410"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;date(MonthStart(createdon),'MM/YYYY') as Createdon_MonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use createdon_MonthYear as dimension in your Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473210#M176753</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-06-14T11:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473211#M176754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks that seemed to work. I put a line in my resident load but it didn't like it this one seems to work better. Once you change the format of a date and want to group/sort them qlik becomes very awkward!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help. &lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Help/m-p/473211#M176754</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-06-14T11:47:54Z</dc:date>
    </item>
  </channel>
</rss>

