BookmarkSubscribeRSS Feed
gabras
Pyrite | Level 9

Hello everybody,

 

i'm new at using WRS. I would like to build a dynamic report.

I have this table:

IDS1S2S3
13 .1
2 .1 
3 .12

 

and i would like WRS show me only the column with a value, depending on the ID i choose.

If i filter the table by ID=1 the report should be:

IDS1S3
131

 

of course if i select ID in (1,2), the report will be:

IDS1S2S3
13 .1
2 .1 .

 

How can i build this kind of report?

 

Thank's in advance

 

Gabriele

3 REPLIES 3
Madelyn_SAS
SAS Super FREQ

You can apply row-level permissions to the information map used in the report. This is a sample that walks you through an example:

http://support.sas.com/kb/31/563.html

 

This is the book on BI Row-Level Permissions:

http://support.sas.com/documentation/cdl/en/birlpug/64774/PDF/default/birlpug.pdf

 

 

 

FredrikE
Rhodochrosite | Level 12

It was a while ago and if I remeber correct the only way is to use a cube as data source and enable the option "Hide rows/columns whitout data" or something similiar 🙂

 

In a standrad report I can't see how this can be achieved. Also using permissions will not work since WRS expects the columns used at design mode and if they are not present when the report is viewed it will crash...

Madelyn_SAS
SAS Super FREQ

It is true that SAS Web Report Studio does not support column-level security. See

 

http://support.sas.com/kb/45/094.html

 

If that is what you were asking, then that cannot be done.

 

The option for cubes is to exclude (or include) members with only missing values. By default, these members are excluded. In this case, if an entire row or column contains nothing but missing values, then they are suppressed in the crosstab. As far as I am aware, you cannot use this feature as column-level security.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 977 views
  • 0 likes
  • 3 in conversation