Hello everybody,
i'm new at using WRS. I would like to build a dynamic report.
I have this table:
ID | S1 | S2 | S3 |
1 | 3 | . | 1 |
2 | . | 1 | |
3 | . | 1 | 2 |
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:
ID | S1 | S3 |
1 | 3 | 1 |
of course if i select ID in (1,2), the report will be:
ID | S1 | S2 | S3 |
1 | 3 | . | 1 |
2 | . | 1 | . |
How can i build this kind of report?
Thank's in advance
Gabriele
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
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Creating Beautiful Reports
SAS Visual Analytics Learning Center
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...
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.
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Creating Beautiful Reports
SAS Visual Analytics Learning Center
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.
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.