<?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: Date Month Sort in VA in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/447549#M9741</link>
    <description>&lt;P&gt;In SAS VA under the data selection on the left panel, you can right click the data element and select "New Custom Sort". A window will pop up and you can then put the data value in the order you would like to see in Graph or Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 19:31:53 GMT</pubDate>
    <dc:creator>Jun_KP</dc:creator>
    <dc:date>2018-03-21T19:31:53Z</dc:date>
    <item>
      <title>Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241887#M3023</link>
      <description>&lt;P&gt;I am performing data manipulation for VA and I have date valiable in date format.&lt;/P&gt;&lt;P&gt;I calculated month using SAS function in SAS-EG and I got numeric output (1,2,3...).&amp;nbsp;I wanted to have month in Character form (Jan, Feb..etc). So,&amp;nbsp;I used Proc format; value m ;&lt;/P&gt;&lt;P&gt;1='Jan'....;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I am using this in a Line Graph and month is a category variable on X-axis, when I sort, I get the sorting in Alphabetical order Apr being the first&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried little variation in proc format:&lt;/P&gt;&lt;P&gt;1='1:Jan' and when I sort I get this order 1, 11, 12, 2, 3, 4,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way I can get month in Character form and when I sort I get the actual order in Visual Analytics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 19:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241887#M3023</guid>
      <dc:creator>ksachar</dc:creator>
      <dc:date>2016-01-05T19:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241891#M3024</link>
      <description>&lt;P&gt;You're very close with your final variation.&amp;nbsp; You could try adding a leading zero for months 1-9:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;value m 1='01:Jan' ......;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could use a leading blank:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;value m 1=' 1:Jan' ......;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, the leading blank would be for months 1-9 only.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 19:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241891#M3024</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-01-05T19:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241900#M3025</link>
      <description>&lt;P&gt;Use your original date data item in SAS Visual Analytics and simply change the format in the data pane properties panel to a month format and you'll get the ascending month order you desire.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 20:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241900#M3025</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-01-05T20:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241910#M3026</link>
      <description>&lt;P&gt;Thanks. One more thing. Is there any way I can find teh Week number in VA. Instead of using a week function in EG?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 20:48:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241910#M3026</guid>
      <dc:creator>ksachar</dc:creator>
      <dc:date>2016-01-05T20:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241990#M3028</link>
      <description>&lt;P&gt;There is no week related format available within the Visual Analytics data item properties pane however you can create a calculated item and use the WeekNumber( ) operator on date data item that will return a week number (0-53) for the date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this has answered your question, please mark the question as solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 05:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/241990#M3028</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2016-01-06T05:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date Month Sort in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/447549#M9741</link>
      <description>&lt;P&gt;In SAS VA under the data selection on the left panel, you can right click the data element and select "New Custom Sort". A window will pop up and you can then put the data value in the order you would like to see in Graph or Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:31:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Date-Month-Sort-in-VA/m-p/447549#M9741</guid>
      <dc:creator>Jun_KP</dc:creator>
      <dc:date>2018-03-21T19:31:53Z</dc:date>
    </item>
  </channel>
</rss>

