<?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 Bizarre Sort Behavior on a Time Dimension in OLAP Cube in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Bizarre-Sort-Behavior-on-a-Time-Dimension-in-OLAP-Cube/m-p/45412#M11945</link>
    <description>We're experiencing a weird result when viewing a cube with a time dimension in both Web OLAP Viewer and Enterprise Guide.&lt;BR /&gt;
&lt;BR /&gt;
Setup:&lt;BR /&gt;
SAS 9.2&lt;BR /&gt;
EG 4.2&lt;BR /&gt;
Web OLAP Viewer for Java 4.2&lt;BR /&gt;
&lt;BR /&gt;
We've got a time dimension set up as Year &amp;gt; Quarter &amp;gt; Month &amp;gt; Day.  Let's say the pool of values for the variable of interest spans May 2009 - June 2010.  Here's the display/sort order that the viewers are giving us:&lt;BR /&gt;
&lt;BR /&gt;
2009&lt;BR /&gt;
--2&lt;BR /&gt;
-----May&lt;BR /&gt;
-----June&lt;BR /&gt;
-----April&lt;BR /&gt;
--3&lt;BR /&gt;
-----July&lt;BR /&gt;
-----August&lt;BR /&gt;
-----September&lt;BR /&gt;
--4&lt;BR /&gt;
-----October&lt;BR /&gt;
-----November&lt;BR /&gt;
-----December&lt;BR /&gt;
2010&lt;BR /&gt;
--2&lt;BR /&gt;
-----May&lt;BR /&gt;
-----June&lt;BR /&gt;
-----April&lt;BR /&gt;
--3&lt;BR /&gt;
-----July&lt;BR /&gt;
-----August&lt;BR /&gt;
-----September&lt;BR /&gt;
--4&lt;BR /&gt;
-----October&lt;BR /&gt;
-----November&lt;BR /&gt;
-----December&lt;BR /&gt;
--1&lt;BR /&gt;
-----January&lt;BR /&gt;
-----February&lt;BR /&gt;
-----March&lt;BR /&gt;
&lt;BR /&gt;
to say the least, this is out of order.  It appears it first sorts based on the data it first sees in 2009, and then puts new values seen in the levels for 2010 at the end.  Anyone got any thoughts on this?  We're using the time type for the dimension.  Ask away for any additional you think pertinent.  Thanks in advance.</description>
    <pubDate>Wed, 07 Jul 2010 19:52:31 GMT</pubDate>
    <dc:creator>RobW</dc:creator>
    <dc:date>2010-07-07T19:52:31Z</dc:date>
    <item>
      <title>Bizarre Sort Behavior on a Time Dimension in OLAP Cube</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bizarre-Sort-Behavior-on-a-Time-Dimension-in-OLAP-Cube/m-p/45412#M11945</link>
      <description>We're experiencing a weird result when viewing a cube with a time dimension in both Web OLAP Viewer and Enterprise Guide.&lt;BR /&gt;
&lt;BR /&gt;
Setup:&lt;BR /&gt;
SAS 9.2&lt;BR /&gt;
EG 4.2&lt;BR /&gt;
Web OLAP Viewer for Java 4.2&lt;BR /&gt;
&lt;BR /&gt;
We've got a time dimension set up as Year &amp;gt; Quarter &amp;gt; Month &amp;gt; Day.  Let's say the pool of values for the variable of interest spans May 2009 - June 2010.  Here's the display/sort order that the viewers are giving us:&lt;BR /&gt;
&lt;BR /&gt;
2009&lt;BR /&gt;
--2&lt;BR /&gt;
-----May&lt;BR /&gt;
-----June&lt;BR /&gt;
-----April&lt;BR /&gt;
--3&lt;BR /&gt;
-----July&lt;BR /&gt;
-----August&lt;BR /&gt;
-----September&lt;BR /&gt;
--4&lt;BR /&gt;
-----October&lt;BR /&gt;
-----November&lt;BR /&gt;
-----December&lt;BR /&gt;
2010&lt;BR /&gt;
--2&lt;BR /&gt;
-----May&lt;BR /&gt;
-----June&lt;BR /&gt;
-----April&lt;BR /&gt;
--3&lt;BR /&gt;
-----July&lt;BR /&gt;
-----August&lt;BR /&gt;
-----September&lt;BR /&gt;
--4&lt;BR /&gt;
-----October&lt;BR /&gt;
-----November&lt;BR /&gt;
-----December&lt;BR /&gt;
--1&lt;BR /&gt;
-----January&lt;BR /&gt;
-----February&lt;BR /&gt;
-----March&lt;BR /&gt;
&lt;BR /&gt;
to say the least, this is out of order.  It appears it first sorts based on the data it first sees in 2009, and then puts new values seen in the levels for 2010 at the end.  Anyone got any thoughts on this?  We're using the time type for the dimension.  Ask away for any additional you think pertinent.  Thanks in advance.</description>
      <pubDate>Wed, 07 Jul 2010 19:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bizarre-Sort-Behavior-on-a-Time-Dimension-in-OLAP-Cube/m-p/45412#M11945</guid>
      <dc:creator>RobW</dc:creator>
      <dc:date>2010-07-07T19:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre Sort Behavior on a Time Dimension in OLAP Cube</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bizarre-Sort-Behavior-on-a-Time-Dimension-in-OLAP-Cube/m-p/45413#M11946</link>
      <description>Hi:&lt;BR /&gt;
  Folks don't use many (if any) SAS procedures with OLAP cubes, since they generally run or are used in the context of the SAS Enterprise Intelligence Platform. You might get more responses if you posted this to the Web Report Studio forum (I know that you're not using the cube, in WRS, but the OLAP folks are more likely to be hanging out over in that forum. You could also try this in the SAS Enterprise Guide forum, but I expect you'll have better luck with the WRS folks than the EG folks.)&lt;BR /&gt;
&lt;BR /&gt;
  Or, you could try working directly with Tech Support. To open a track with Tech Support, go to:&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 07 Jul 2010 20:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bizarre-Sort-Behavior-on-a-Time-Dimension-in-OLAP-Cube/m-p/45413#M11946</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-07-07T20:01:49Z</dc:date>
    </item>
  </channel>
</rss>

