BookmarkSubscribeRSS Feed
benson
SAS Employee
having trouble getting date (ddmmmyy) to start at left haxis, like from 11JAN10 to 05FEB10, any suggestions ?
4 REPLIES 4
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggest you share what SAS code you are using for useful feedback.

Scott Barry
SBBWorks, Inc.

Recommended Google advanced search argument, this topic/post:

date values axis site:sas.com
benson
SAS Employee
I have tried the following code with no luck.

axis1 order=('11jan10'd to 01feb10'd by day);

Can anyone explain what I am missing ? Thanks
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Did you have an opportunity to use the Recommended Google search to reveal SAS-hosted DOC and other technical reference material that may help?

Also, given your response "...with no luck." -- can you be more specific about the SAS behavior when you use the code shared? Possibly share the exact SAS log output (pasted in a post/reply to the forum)? However, from the code you did share, I see a missing tick-mark in your second date literal value.

Scott Barry
SBBWorks, Inc.
benson
SAS Employee
I solved this by changing the date field on my access database to 01/11, 01/12, 01/13, etc. and the results returned the correct date order I was looking for. Thanks for your replies.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 836 views
  • 0 likes
  • 2 in conversation