BookmarkSubscribeRSS Feed
BAdams
Calcite | Level 5

I used the built in SAS time dimension to define a date field.  Looking at the results in WRS you can see that the quarters are not sorted in the correct order, nor are the months within the first quarter. Has anyone seen this before and more importantly, how can I correct it?  Thanks.   Below is how the data is showing up in WRS.


date sort error.jpg

4 REPLIES 4
Tobin_Scroggins
Calcite | Level 5

I have had this issue with using quarters. Don't have an answer for you but am hoping that someone does.

GCCarno
Calcite | Level 5

I am having a similar issue. Try following this guide, if you are successful, let me know.

http://support.sas.com/kb/19/651.html

muralavenu_gmail_com
Obsidian | Level 7

Hi There,

 

This is very easy and you need to Edit the Cube.  Before editing the Cube you should close the WRS Report, if you select this Cube as a source in this report.

 

1. Right Click on the Cube - Select Edit Structuture - Click on NextClick on Next - Select the Dimension - Click on Modify -  Click on Next - Select the Level(Variable) - Click on Sort Order - Select Dataset Order - Click on NextClick on Finish - Click on Finish.

 

NOTE:  In your screen shot, 2nd and 3rd Levels\Variables are not in Sort Order.  So you need to Select Dataset Order for BOTH Variables.  Now Try to open the saved report in WRS and check.  

 

For Detailed information, find the attached .zip - VIDEO & Screen Shot for your reference.

 

Thanks & Regards,

Venu Murala  | Sr. SAS Consultant.

Venu Murala
ashu464810
Calcite | Level 5

@muralavenu_gmail_com I tried the approach you mentioned  but the date is not gettting sorted. 

Your views are welcome.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1841 views
  • 0 likes
  • 5 in conversation