Hi,
I’m trying to develop a Dashboard using proc greplay, SAS IntrNet z/OS version 8.2 :smileyshocked:.
The Dashboard contains 20 different graphs. I need to put some tables between the graphs. Is it possible?
A unit in my dashboard consists of a title, two graphs and a table (proc print or tabulate).
I’ve managed to generate all my graphs (using gchart) and titles (using gslide) and can just call them in my template with proc greplay but what should I do with the tables?
Is it possible to make a graph from proc print (or proc tabulate output) and then refer to this graph (which is my table) with proc greplay?
Any help is appreciated.
Here is a link to proc greplay and tables from proc tabulate:
http://www.nesug.org/proceedings/nesug07/ap/ap16.pdf
Very nice, it will take a bit of tweaking, but using proc printto...it is doable.
In a nutshell:
*define a filename path (open a text editor and save it as whatever;
filename whatever '&path.\whatever.txt' ;
proc printto print = whatever new;run; *tell SAS to print what is coming up in this txt file;
proc tabulate data = sashelp.class; *silly table,for example purposes;
var age height;
class sex;
table age sex;
run;
proc printto;run;
proc gprint fileref = whatevername= 'my_table';run;
proc gplot data = sashelp.class gout = work.graphs;
plot age*weight / name = "age_wt";
run;quit;
proc greplay igout=work.gseg tc=sashelp.templt template=v2 nofs;
treplay 1:age_wt 2:my_table;
run;quit;
Anca.
Thank you very much, I'll try
Here's another possibility ... This one lets you create a table as an image, and then you could annotate that image onto a gslide, which would give you something you could use with greplay.
I don't have an example showing exactly that, but this example shows how to create the table image, and annotate it onto a SAS graph gplot, which should get you pointed in the right direction ...
Thank you very much, I'll try
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.
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.