<?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: Change DayOfWeek (int) values to string (words) values in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601905#M13278</link>
    <description>&lt;P&gt;You can display (and convert to a new variable, if needed) SAS date values as the weekday directly by using the DOWNAME. format, no need to extract the numeric weekday first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
format date downame.;
do date = today() - 6 to today();
  put date=;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Log:&lt;/P&gt;
&lt;PRE&gt; 73         data _null_;
 74         format date downame.;
 75         do date = today() - 6 to today();
 76           put date=;
 77         end;
 78         run;
 
 date=Thursday
 date=Friday
 date=Saturday
 date=Sunday
 date=Monday
 date=Tuesday
 date=Wednesday
&lt;/PRE&gt;</description>
    <pubDate>Wed, 06 Nov 2019 08:47:14 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-11-06T08:47:14Z</dc:date>
    <item>
      <title>Change DayOfWeek (int) values to string (words) values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601895#M13276</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture6.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33656i2451DDBE345CEA98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture6.JPG" alt="Capture6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this picture above I have created a variable that shows the values from 1 - 7 reflecting the days of the week. However, i would now like for the 1-7 values to be reflected as day values (Monday, Tuesday, Wednesday). As I intend to use it in a slider, the slider only accepts values that are measure in nature. Can someone give me pointers on how to solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601895#M13276</guid>
      <dc:creator>DandarahZ</dc:creator>
      <dc:date>2019-11-06T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change DayOfWeek (int) values to string (words) values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601904#M13277</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I think the easiest could be to create a custom category for the weekdays and use a list or button bar for the selection.&lt;/P&gt;
&lt;P&gt;As you say, the slider won't work.&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601904#M13277</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2019-11-06T08:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change DayOfWeek (int) values to string (words) values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601905#M13278</link>
      <description>&lt;P&gt;You can display (and convert to a new variable, if needed) SAS date values as the weekday directly by using the DOWNAME. format, no need to extract the numeric weekday first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
format date downame.;
do date = today() - 6 to today();
  put date=;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Log:&lt;/P&gt;
&lt;PRE&gt; 73         data _null_;
 74         format date downame.;
 75         do date = today() - 6 to today();
 76           put date=;
 77         end;
 78         run;
 
 date=Thursday
 date=Friday
 date=Saturday
 date=Sunday
 date=Monday
 date=Tuesday
 date=Wednesday
&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:47:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Change-DayOfWeek-int-values-to-string-words-values/m-p/601905#M13278</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-06T08:47:14Z</dc:date>
    </item>
  </channel>
</rss>

