BookmarkSubscribeRSS Feed
Calcite | Level 5

I woold like to collapse to the allMember in WRS  for instance i have a dimension Categories->SubCategories. So you get All Categories-> Categories->All Sub Categories->Sub Categories.

Cant get that going in WRS but am able to see that in EG

All Categories [+]10

drill down

Categories  > All Categories

Cat 1 [+]5
Cat 2 [+]3
Cat 3 [+]2

drill Cat 1 down to

Categories - > All Categories > Cat 1

Sub CategoriesTotal
All Sub Categories [+]5

Categories - > All Categories > Cat 1 > All Sub Categories

Sub CategoriesTotal
Sub Categorie 1.1 [+]2
Sub Categorie 1.2 [+]3

I coold think of 2 dirty ways in doing that in WRS

- hide the dimension 'Categories' , but then you have to put it back in again to be able to drill to see the categories again.

- Putting in an extra field containing only  'All Categories' and 'All Sub Categories' and add those to the dimension.

But that is what i actualy dont want to do.

Is there an other way ?



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
  • 0 replies
  • 1 in conversation