BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
pink_poodle
Barite | Level 11

This question is inspired by the following topic about Stored Processes @CLE:

 

SAS-Stored-Processes/Sgplot-with-drill-down-links-to-another-stored-process-and-pass

 

Can you drill down on a point on a graph by simply clicking that point? In Python GUI, getMouse( ) method can fetch the coordinates where the user clicks the mouse in the graphics window. It would be nice, for example, to get &MONTH and &YEAR for a stored process this way.

 

*ProcessBody;
   %stpbegin;

   title "Product Sales for &MONTH, &YEAR";
   proc print data=sales;
      where Month eq "&MONTH" and Year eq &YEAR;
      var productid product sales salesgoal;
   run;

   %stpend;

Reference

 

SAS Stored Processes: Input Parameters

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ
HI: I remember an example of a stored process in the sample library, that had something like this. When you clicked on a graph, it drilled down to the data behind the graph. You might want to check the Stored Process documentation and the samples for the Stored Process Web Application. Look here: https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf at example 2.4.

Cynthia

View solution in original post

1 REPLY 1
Cynthia_sas
SAS Super FREQ
HI: I remember an example of a stored process in the sample library, that had something like this. When you clicked on a graph, it drilled down to the data behind the graph. You might want to check the Stored Process documentation and the samples for the Stored Process Web Application. Look here: https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf at example 2.4.

Cynthia

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 546 views
  • 1 like
  • 2 in conversation