<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sgplot with drill down links to another stored process and pass prompts in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509177#M5789</link>
    <description>&lt;P&gt;I'm needing it to be only the month that is clicked on that would be displayed. Example: They click on the May18 marker and a May18 secondary stored process sgplot is created.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Oct 2018 15:41:54 GMT</pubDate>
    <dc:creator>CLE</dc:creator>
    <dc:date>2018-10-31T15:41:54Z</dc:date>
    <item>
      <title>Sgplot with drill down links to another stored process and pass prompts</title>
      <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509148#M5787</link>
      <description>&lt;P&gt;I'd like for the sgplot to have drill downs on the markers instead of in a separate proc report.&amp;nbsp; I need to be able to pass the existing prompts then the&amp;nbsp;value from the line marker value to the sub-stored process prompt.&amp;nbsp; Anyone know how or have advice on how to do it? I only know how in a proc report.&amp;nbsp; I'm using EG 7.1 with M4.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExampleforSAS10312018.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24521iCDB28B09BCF78532/image-size/large?v=v2&amp;amp;px=999" role="button" title="ExampleforSAS10312018.png" alt="ExampleforSAS10312018.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 15:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509148#M5787</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2018-10-31T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot with drill down links to another stored process and pass prompts</title>
      <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509172#M5788</link>
      <description>&lt;P&gt;Yes, I found an example where proc gchart generates a graph and a table using a stored process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpsamp.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpsamp.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*ProcessBody;
   %STPBEGIN;
      title 'Age analysis by sex';
      footnote;
      proc sort data=sashelp.class out=class; by sex age; run;
      proc gchart data=class;
         vbar3d age / group=sex
            discrete
            nozero
            shape=cylinder
            patternid=group;
      run; quit;
      title;
      proc print data=class;
         by sex age;
         id sex age;
         var name height weight;
      run;
   %STPEND;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Oct 2018 15:33:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509172#M5788</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2018-10-31T15:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot with drill down links to another stored process and pass prompts</title>
      <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509177#M5789</link>
      <description>&lt;P&gt;I'm needing it to be only the month that is clicked on that would be displayed. Example: They click on the May18 marker and a May18 secondary stored process sgplot is created.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 15:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509177#M5789</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2018-10-31T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot with drill down links to another stored process and pass prompts</title>
      <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509181#M5790</link>
      <description>&lt;P&gt;Ok, you would need to collect user input and store it in a macro variable like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*ProcessBody;
   %stpbegin;

   title "Product Sales for &amp;amp;MONTH, &amp;amp;YEAR";
   proc print data=sales;
      where Month eq "&amp;amp;MONTH" and Year eq &amp;amp;YEAR;
      var productid product sales salesgoal;
   run;

   %stpend;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;Reference&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/input.html" target="_self"&gt;SAS Stored Processes: Input Parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 15:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509181#M5790</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2018-10-31T15:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot with drill down links to another stored process and pass prompts</title>
      <link>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509215#M5791</link>
      <description>&lt;P&gt;Both SERIES and SCATTER plots in SGPLOT support the URL= option. The option would reference a character variable in the data set that contains the URL of what you want to display when selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to link that URL to the display you want likely means that the target has to have been created or the page knows how to create something. I suspect the URL could contain parameters as any URL may but the values would have to be calculated and added to the URL variable.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 17:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Sgplot-with-drill-down-links-to-another-stored-process-and-pass/m-p/509215#M5791</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-31T17:25:04Z</dc:date>
    </item>
  </channel>
</rss>

