Please, some one give some sas macro to analyse data:
> I want to have a report with data and graphs ( with the needs)
Data 1 graph1 data2 graph2 ......datan graphn
or graph1 graph2 ......graphn
> an other means a sas macro to analyse data with many views.
Can't see any question ... you should add the code you have, provide example data and desired output including format.
Why do you think, that sas-macro-code is required to solve the problem?
For the moment, I need a reporting likes this :
table | graph
table| graph
table|graph
But it depends,
I can need
a reporting likes this
| T1 T2|
|G1 G2|
............
or
| T1 T2 Tn
| G1 G2 Gn|
or | sub-group of Ti .... ...........graph of sub-group of Ti|
| sub-group of Tj .... ...........graph of sub-group of Tj|
extra ...
Hi,
I agree with andreas_ids, you have not clarified your problem, nor provide any test data win the form of a datastep or what the output should look like. At a guess you want to do something for several datasets with the same prefix, here is an example:
ods rtf file =....;
data _null_;
do i=1 to 10;
call execute(cats('proc print data=data',put(i,best.),'; run;')); /* Report datax */
call execute(cats('proc sgplot data=graph',put(i,best.),';....;run;')); /* Produce graph */
end;
run;
ods rtf close;
Thank you for answer..
yes, your answer can reply to in party of my question..
you can see my answer to andreas_ids
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.