03-01-2012 02:53 PM
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.
03-02-2016 07:32 PM - edited 03-02-2016 07:36 PM
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 Next - Click on Next - Select the Dimension - Click on Modify - Click on Next - Select the Level(Variable) - Click on Sort Order - Select Dataset Order - Click on Next - Click 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.