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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.