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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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