<?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: Sort in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781276#M1025158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these are proper QV dates, you can just sort them numerically. Go to the sort tab and ensure that the numeric option is ticked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are strings, I recommend that you convert them to date during the load - something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&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(Date#(Date), 'MM/DD/YYYY')) As Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 11:37:52 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-03-11T11:37:52Z</dc:date>
    <item>
      <title>Sort in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781274#M1025156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sort the data on Date&lt;/P&gt;&lt;P&gt;I have Date field with to Two Dates&lt;/P&gt;&lt;P&gt;1 - 12/31/2014&lt;/P&gt;&lt;P&gt;2 - 01/01/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now its looking like&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;01/01/2015&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;01/01/2015&lt;/P&gt;&lt;P&gt;12/01/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to be 12/31/2015 first and 01/01/2015 in order&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;12/31/2014&lt;/P&gt;&lt;P&gt;01/01/2015&lt;/P&gt;&lt;P&gt;01/01/2015&lt;/P&gt;&lt;P&gt;01/01/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have removed other sorting options on other Dim and Expr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781274#M1025156</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-03-11T11:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781275#M1025157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move the date field to the top of the sort priority list on the Sort tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And check that your dates are real dates and not text values. Try adding the date field to a list box and changing the Number format to one of the number formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your date values are text values the use the date#() function in the script to create real date values: date#(MyDate,'MM/DD/YYYY') as MyDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781275#M1025157</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-11T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sort in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781276#M1025158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these are proper QV dates, you can just sort them numerically. Go to the sort tab and ensure that the numeric option is ticked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are strings, I recommend that you convert them to date during the load - something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&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(Date#(Date), 'MM/DD/YYYY')) As Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-in-Straight-Table/m-p/781276#M1025158</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-11T11:37:52Z</dc:date>
    </item>
  </channel>
</rss>

