<?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: Proc Report Drill Down in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112793#M31218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your compute&amp;nbsp; block was not included in your post so we cannot actually see the code.&amp;nbsp; My initial guess is that there is a logic issue with the assignment of the path information (URL).&amp;nbsp; More information can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wuss.org/proceedings09/09WUSSProceedings/papers/how/HOW-Carpenter.pdf"&gt;http://www.wuss.org/proceedings09/09WUSSProceedings/papers/how/HOW-Carpenter.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2012 17:31:16 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2012-10-31T17:31:16Z</dc:date>
    <item>
      <title>Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112792#M31217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have the following dataset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;set sashelp.cars;&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;make in ("Acura","Audi") and Origin in("Asia","Europe") and Type in ("Sedan","Sports") ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will have 23 observations in the dataset names "Test".&lt;/P&gt;&lt;P&gt;Now I write the following Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data = test;&lt;/P&gt;&lt;P&gt;columns make origin type (n);&lt;/P&gt;&lt;P&gt;define make / group;&lt;/P&gt;&lt;P&gt;define type / group;&lt;/P&gt;&lt;P&gt;define origin / group;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Thus you will see something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Origin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; n&lt;/P&gt;&lt;P&gt;Acura&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Asia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sedan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline; color: #3366ff;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sports&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline; color: #3366ff;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Audi&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Europe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sedan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline; color: #3366ff;"&gt;13&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sports&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline; color: #3366ff;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have computed my variable named "N".&lt;/P&gt;&lt;P&gt;My variable N has been highlighted in blue color with an underline.&lt;/P&gt;&lt;P&gt;And by providing it html links I have connected this stored process to another stored process.&lt;/P&gt;&lt;P&gt;I have passed parameters such that:&lt;/P&gt;&lt;P&gt;1. When I click on 5== I print the 5 records which has Make=Acura, Origin=Asia and Type=&lt;STRONG&gt;Sedan&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. When I click on 1== I print the 1 record&amp;nbsp;&amp;nbsp; which has Make=Acura, Origin=Asia and Type=&lt;STRONG&gt;Sports&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is:&lt;/P&gt;&lt;P&gt;When I click on 13:&lt;/P&gt;&lt;P&gt;I still get 5 records with Make=Acura, Origin=Asia and Type=&lt;STRONG&gt;Sedan&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I click on 4:&lt;/P&gt;&lt;P&gt;I still get 1 record&amp;nbsp;&amp;nbsp; with Make=Acura, Origin=Asia and Type=&lt;STRONG&gt;Sports&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For hyperlink on 5&amp;amp;1 it does take parameters from the same observations but why does it not take parameters for the second group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have explained the problem clearly. In case I haven't please let me know and I will try to provide it in more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me reference to any paper which I should refer, to resolve my issue.&lt;/P&gt;&lt;P&gt;I am sure its doable but just not clear as to how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;I have not included the call define statement in the above code just to avoid extra code.&lt;/P&gt;&lt;P&gt;I have used the following paper and created drill down.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings11/050-2011.pdf" title="http://support.sas.com/resources/papers/proceedings11/050-2011.pdf"&gt;http://support.sas.com/resources/papers/proceedings11/050-2011.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for going through my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 07:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112792#M31217</guid>
      <dc:creator>ArpitSharma</dc:creator>
      <dc:date>2012-10-31T07:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112793#M31218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your compute&amp;nbsp; block was not included in your post so we cannot actually see the code.&amp;nbsp; My initial guess is that there is a logic issue with the assignment of the path information (URL).&amp;nbsp; More information can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wuss.org/proceedings09/09WUSSProceedings/papers/how/HOW-Carpenter.pdf"&gt;http://www.wuss.org/proceedings09/09WUSSProceedings/papers/how/HOW-Carpenter.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112793#M31218</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-31T17:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112794#M31219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I coded it before for someone. Check it out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/126284#126284" title="https://communities.sas.com/message/126284#126284"&gt;https://communities.sas.com/message/126284#126284&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 02:48:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112794#M31219</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-11-01T02:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112795#M31220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sorry for not getting back early..&lt;/P&gt;&lt;P&gt;I have been trying to understand how proc report drill down works for which I have created two stored processes.&lt;/P&gt;&lt;P&gt;Name of Stored Process 1: Cars_1&lt;/P&gt;&lt;P&gt;Name of Stored Process 2: Cars_2&lt;/P&gt;&lt;P&gt;Here are the&amp;nbsp; revised code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I drill down on Variable "N" it still gives me output for "SET1"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want output of ('SET1', 'SET2', 'SET3').&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I drill down on any row other than the first row in the log I get missing values for&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEVEL1 and LEVEL2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For the grouped variables does the value of that cell in the column go missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me with the code and point out where I need to make changes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree I have done some hard coding.&lt;/P&gt;&lt;P&gt;You can simply copy paste the code.&lt;/P&gt;&lt;P&gt;(Yes you will have to change the server address and path where you save the code.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE Stored Process 1: Cars_1:&lt;/P&gt;&lt;P&gt;/************************************/&lt;/P&gt;&lt;P&gt;options missing='0';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one;&lt;/P&gt;&lt;P&gt;input level1 :$2. level2 :$2. level3 :$2. across1 :$8.&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;A1 B1 C1 SET1&lt;/P&gt;&lt;P&gt;A1 B1 C2 SET1&lt;/P&gt;&lt;P&gt;A1 B1 C3 SET1&lt;/P&gt;&lt;P&gt;A1 B2 C1 SET1&lt;/P&gt;&lt;P&gt;A1 B2 C2 SET1&lt;/P&gt;&lt;P&gt;A1 B2 C3 SET1&lt;/P&gt;&lt;P&gt;A1 B3 C1 SET1&lt;/P&gt;&lt;P&gt;A1 B3 C2 SET1&lt;/P&gt;&lt;P&gt;A1 B3 C3 SET1&lt;/P&gt;&lt;P&gt;A1 B1 C1 SET2&lt;/P&gt;&lt;P&gt;A1 B1 C2 SET2&lt;/P&gt;&lt;P&gt;A1 B1 C3 SET2&lt;/P&gt;&lt;P&gt;A1 B2 C1 SET2&lt;/P&gt;&lt;P&gt;A1 B2 C2 SET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&lt;/P&gt;&lt;P&gt;A2 B1 C3 SET3&lt;/P&gt;&lt;P&gt;A2 B2 C1 SET3&lt;/P&gt;&lt;P&gt;A2 B2 C2 SET3&lt;/P&gt;&lt;P&gt;A2 B2 C3 SET3&lt;/P&gt;&lt;P&gt;A2 B3 C1 SET3&lt;/P&gt;&lt;P&gt;A2 B3 C2 SET3&lt;/P&gt;&lt;P&gt;A2 B3 C3 SET3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let max_col=6;&lt;/P&gt;&lt;P&gt;%let as4=SET1;&lt;/P&gt;&lt;P&gt;%let as5=SET2;&lt;/P&gt;&lt;P&gt;%let as6=SET3;&lt;/P&gt;&lt;P&gt;%let as7=SET1SET2SET3;&lt;/P&gt;&lt;P&gt;OPTIONS SYMBOLGEN mprint&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;%macro report;&lt;/P&gt;&lt;P&gt;proc report data=one SPANROWS;&lt;/P&gt;&lt;P&gt;columns level1 level2 level3 across1 (n);&lt;/P&gt;&lt;P&gt;define level1 / group;&lt;/P&gt;&lt;P&gt;define level2 / group;&lt;/P&gt;&lt;P&gt;define level3 / group;&lt;/P&gt;&lt;P&gt;define across1 / across ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute across1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %do i=4 %to %eval(&amp;amp;max_col);&lt;/P&gt;&lt;P&gt;&amp;nbsp; urlstring =&lt;/P&gt;&lt;P&gt;&amp;nbsp; '&lt;A class="jive-link-external-small" href="http://MY/"&gt;http://MY&lt;/A&gt; SERVER ADDRESS/do?&amp;amp;_program=&lt;/P&gt;&lt;P&gt;&amp;nbsp; /BI Content/MY STORED PROCESS PATH/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /CARS_2&amp;amp;test='||&lt;/P&gt;&lt;P&gt;&amp;nbsp; trim(strip(level1||'|'||level2||'|'||level3||'|'||"&amp;amp;&amp;amp;as&amp;amp;i"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ("_c%eval(&amp;amp;i)_", 'URL', urlstring);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;endcomp ;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;TEST.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute N ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %do i=7 %to 7;&lt;/P&gt;&lt;P&gt;/* %eval(&amp;amp;max_col);*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; urlstring =&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://MY/"&gt;http://MY&lt;/A&gt;&lt;SPAN&gt; SERVER ADDRESS/do?&amp;amp;_program=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /BI Content/MY STORED PROCESS PATH/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /CARS_2&amp;amp;test='||&lt;/P&gt;&lt;P&gt;&amp;nbsp; trim(strip(level1||'|'||level2||'|'||level3||'|'||"&amp;amp;&amp;amp;as&amp;amp;i"&lt;/P&gt;&lt;P&gt;/* "&amp;amp;&amp;amp;as&amp;amp;i"*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; ));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ("_c%eval(&amp;amp;i)_", 'URL', urlstring);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;endcomp ;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;TEST.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%report;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/************************************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE Stored Process 2: Cars_2:&lt;/P&gt;&lt;P&gt;/************************************/&lt;/P&gt;&lt;P&gt;/*%let test=A1|B1|C1|SET1SET2SET3;*/&lt;/P&gt;&lt;P&gt;/*%let test=A1|B1|C1|SET1;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;test.;&lt;/P&gt;&lt;P&gt;DATA ONE ;&lt;/P&gt;&lt;P&gt;MACRO = "&amp;amp;TEST." ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;SET ONE&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;T_LEVEL1 = scan(macro,1,'|');&lt;/P&gt;&lt;P&gt;T_LEVEL2 = scan(macro,2,'|');&lt;/P&gt;&lt;P&gt;T_LEVEL3 = scan(macro,3,'|');&lt;/P&gt;&lt;P&gt;T_SET=SCAN(MACRO,4,'|');&lt;/P&gt;&lt;P&gt;call symput("LEVEL1",trim(T_LEVEL1));&lt;/P&gt;&lt;P&gt;call symput("LEVEL2",trim(T_LEVEL2));&lt;/P&gt;&lt;P&gt;call symput("LEVEL3",trim(T_LEVEL3));&lt;/P&gt;&lt;P&gt;call symput("SET",trim(t_SET));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;SET.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO START;&lt;/P&gt;&lt;P&gt;%LET ABCD=%SYSFUNC(LENGTH(&amp;amp;SET.));&lt;/P&gt;&lt;P&gt;%IF&amp;nbsp; &amp;amp;ABCD.&amp;gt;4 %THEN %DO;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;%let one=%substr(&amp;amp;set.,1,4);&lt;/P&gt;&lt;P&gt;%let two=%substr(&amp;amp;set.,5,4);&lt;/P&gt;&lt;P&gt;%let three=%substr(&amp;amp;set.,9,4);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%let set=("&amp;amp;one.","&amp;amp;two.","&amp;amp;three.");&lt;/P&gt;&lt;P&gt;%put &amp;amp;set.;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%ELSE %DO;&lt;/P&gt;&lt;P&gt;%LET SET=("&amp;amp;SET.");&lt;/P&gt;&lt;P&gt;%END;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%start;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;LEVEL1.;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;LEVEL2.;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;LEVEL3.;&lt;/P&gt;&lt;P&gt;%put &amp;amp;SET.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one;&lt;/P&gt;&lt;P&gt;input level1 :$2. level2 :$2. level3 :$2. across1 :$8.&am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/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;/************************************/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2012 03:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112795#M31220</guid>
      <dc:creator>ArpitSharma</dc:creator>
      <dc:date>2012-11-04T03:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112796#M31221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No SAS system to check but you can try this...Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your compute block should be some thing like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute across1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length urlstring $500;&lt;/P&gt;&lt;P&gt;&amp;nbsp; urlstring =&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://nzapwa14.nndc.kp.org:7070/SASStoredProcess/do?&amp;amp;_program="&gt;http://nzapwa14.nndc.kp.org:7070/SASStoredProcess/do?&amp;amp;_program=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /BI Content/National/NAMSA/MSA_TEST/StoredProcesses&lt;/P&gt;&lt;P&gt;&amp;nbsp; /CARS_2"||'&amp;amp;across1=' ||&amp;nbsp; urlencode(trim(left(level1||'|'||level2||'|'||level3||'|')));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define(_col_,"URL",urlstring);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2012 18:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112796#M31221</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-11-04T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112797#M31222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. I am not familiar with stored processes .&lt;/P&gt;&lt;P&gt;Maybe you should post it at another forum about stored processes .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 02:27:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112797#M31222</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-11-05T02:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Drill Down</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112798#M31223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; But the issue the OP is having is irrelevant to whether a stored process is involved or not. The fact is that when SAS and PROC REPORT make a report from GROUP items, the first row of the group contains a value and the second and subsequent rows of the group have blanks on the rows for that column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can prove this to yourself by running a program similar to the one below. Note that I removed the call to the stored process server with the URLSTRING variable. There's no point in calling a stored process until the "CALC" items correctly build the string you want to build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, if you look at the "CALC" items in the attached screen shot, produced with the attached program, you will see that the LEVEL1 (and LEVEL2) value is only available on the first row of the group.), is to "grab" the group items by testing for the "before" break point and then "grabbing" and holding the value in a temporary report variable. PROC REPORT does NOT have a Program Data Vector like the DATA step. So, just because you have a LEVEL1 and LEVEL2 value on every row in the data, does not mean that the value is available to PROC REPORT as it builds each report row. A group item in a PROC REPORT table has blanks for rows where the group items would be a duplicate value -- this is considered presentation quality -- to suppress the repetitious display of duplicate values. So showing a PROC PRINT of the data doesn't mean anything because PROC REPORT builds every report row a certain way and part of that method is to suppress the repetitious display of duplicate values for GROUP and ORDER items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I used 3 separate compute blocks instead of a more complex single compute block to show the behavior that the OP observed. Until the OP has the compute blocks working correctly, there is no point in working on URLSTRING and/or building a URL to call a stored process. This is all PROC REPORT "internals" and basic PROC REPORT processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACROSS variables does complicate things a bit, but there's a way around that -- the key to understanding is to get around the blank values for GROUP items whe there's more than 1 value in the report rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data test;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; length level1 level2 level3 $2 across1 $4;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; do level1 = 'A1', 'A2';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do level2 = 'B1', 'B2';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do level3 = 'C1', 'C2', 'C3';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do across1 = 'SET1', 'SET2', 'SET3';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ** output multiple obs based on RANUNI value;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ranuni(0) gt .4 then output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ranuni(0) le .333 then output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ranuni(0) gt .7235 then output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ranuni(0) le .2111 then output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output; output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt; ods listing close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html file='c:\temp\use_grp_val.html' style=sasweb;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc report data = test nowd spanrows;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;title '1) Show compute without "grabbing" values';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;columns level1 level2 level3 across1 (n) calc1 calc2 calc3;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define level1 / group;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define level2 / group;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define level3 / group;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define across1 / across;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define calc1 / computed f=$50.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define calc2 / computed f=$50.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;define calc3 / computed f=$50.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;compute calc1 / character length=50;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; calc1 = level1||level2||level3||"SET1";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;compute calc2 / character length=50;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; calc2 = level1||level2||level3||"SET2";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;compute calc3 / character length=50;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; calc3 = level1||level2||level3||"SET3";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11921iB3AE183EC3FF60BD/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="how_group_variable_values_work.png" title="how_group_variable_values_work.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 05:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Drill-Down/m-p/112798#M31223</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-11-05T05:39:43Z</dc:date>
    </item>
  </channel>
</rss>

