BookmarkSubscribeRSS Feed
Calcite | Level 5

Hi All,

The hierarchy was defined in a cube which has three levels. I created a crosstab on the report and assigned the hierarchy as the row. But I found out the order of the three levels can not be changed.

So I tried to defined three seperate hierarchies instead of one and assigned three of them to the crosstab's rows. Now they can change orders, but the expand and drilling down functions are lost.

Is there anyway can let me change the order without losing the expand and drlling down function?

Calcite | Level 5

Are there any experts who have any ideas on this problem? Actually, I have similar situation. My boss requires such flexibility in our reports in SAS Web Report Studio. Here is my situation.

I created a cube in SAS OLAP studio first. It contains one dimension. And within the dimension, there is a three level hierarchy. Let's say the dimension named "DDD", the hierarchy is A->B->C. Then I defined a measure called "Total". Then I created an Info Map file and use Web Report Studio to make the table and chart based on the Info Map file. The table now looks like below:

-↓ aa1-↓ bb1cc18888888
+↓ bb2
+↓ aa2
+↓ aa3

"-+" means "Expand", "↓" means "Drilling down".

Now, my boss wants to change the order of A->B->C to C->B->A directly in the page so that he can see the data from different point of view. But it seems the order of the hierarchy cannot be changed directly in the web report studio. If I want to realize this flexibility for my boss, is there any way that I can take? I tried to define A, B and C as deminsions in the cube. Then their order can be changed in the table, but there will be no "drilling down" function for them. I really appreciate it if any one can provide good ideas on it.



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
  • 1 reply
  • 2 in conversation