<?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 Date not sorting correctly on report in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34349#M587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In the information map, you can set the format for the date field. I wonder if the issue is because the date field is showing up as a measure, can you change it to a category and see if data is sorted correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 14:53:25 GMT</pubDate>
    <dc:creator>sks</dc:creator>
    <dc:date>2011-11-07T14:53:25Z</dc:date>
    <item>
      <title>Date not sorting correctly on report</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34345#M583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that I am trying to sort the detail by a date column in ascending order.&amp;nbsp; The date is showing as a 'measure' coming from the information map.&amp;nbsp; I created the SAS datasets in EG 4.2 and passed into the Information map that feeds this report. The date shows as a data type of 'date' in the table.&amp;nbsp;&amp;nbsp; I am doing a right click on the column name header on the report for this date solumn and selecting to sort ascending.&amp;nbsp; The data seems to be ordering in a character format rather than date format.&amp;nbsp; I am pretty new to SAS, so I am sure I am just missing something!!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example of my data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;03/31/2006&lt;/P&gt;&lt;P&gt;03/31/2007&lt;/P&gt;&lt;P&gt;06/30/2006&lt;/P&gt;&lt;P&gt;06/30/2007&lt;/P&gt;&lt;P&gt;09/30/2006&lt;/P&gt;&lt;P&gt;09/30/2007&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Need to have sorted as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;03/31/2006&lt;/P&gt;&lt;P&gt;06/30/2006&lt;/P&gt;&lt;P&gt;09/30/2006&lt;/P&gt;&lt;P&gt;03/31/2007&lt;/P&gt;&lt;P&gt;06/30/2007&lt;/P&gt;&lt;P&gt;09/30/2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any assistance with this problem!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 18:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34345#M583</guid>
      <dc:creator>ncsthbell</dc:creator>
      <dc:date>2011-10-25T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Date not sorting correctly on report</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34346#M584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know nothing about Web Report Studio, but if you are using PROC REPORT then it has a "friendly" feature of sorting even numeric variables by the character string used to display then unless you tell it otherwise by using ORDER=INTERNAL option in addtion to the ORDER option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define mydate / order order=internal;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 22:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34346#M584</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-10-25T22:56:15Z</dc:date>
    </item>
    <item>
      <title>Date not sorting correctly on report</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34347#M585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Have you searched the SAS web for say "WRS Date Sort order"?&amp;nbsp; There are a couple of SAS Notes, while not exactly the same, may shed som light on your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 19:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34347#M585</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2011-10-26T19:55:21Z</dc:date>
    </item>
    <item>
      <title>Date not sorting correctly on report</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34348#M586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with WRS but, from what you show and the documentation, it appears that you might have identified month as a break variable and it is sorting on dates within months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 20:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34348#M586</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-10-26T20:10:12Z</dc:date>
    </item>
    <item>
      <title>Date not sorting correctly on report</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34349#M587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In the information map, you can set the format for the date field. I wonder if the issue is because the date field is showing up as a measure, can you change it to a category and see if data is sorted correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 14:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Date-not-sorting-correctly-on-report/m-p/34349#M587</guid>
      <dc:creator>sks</dc:creator>
      <dc:date>2011-11-07T14:53:25Z</dc:date>
    </item>
  </channel>
</rss>

