<?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>Jagadishkatam Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>Jagadishkatam Tracker</description>
    <pubDate>Mon, 11 May 2026 01:22:56 GMT</pubDate>
    <dc:date>2026-05-11T01:22:56Z</dc:date>
    <item>
      <title>Re: 2023 Customer Awards: WCG Clinical Endpoint Solutions - Visual Storyteller</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Recognition-Awards/2023-Customer-Awards-WCG-Clinical-Endpoint-Solutions-Visual/bc-p/882041#M273</link>
      <description>&lt;P&gt;All the best&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10604"&gt;@djrisks&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 22:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Recognition-Awards/2023-Customer-Awards-WCG-Clinical-Endpoint-Solutions-Visual/bc-p/882041#M273</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2023-06-22T22:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: next date as end date by subject</title>
      <link>https://communities.sas.com/t5/New-SAS-User/next-date-as-end-date-by-subject/m-p/770577#M30899</link>
      <description>We then have to convert the character date to numeric date and follow the logic.</description>
      <pubDate>Mon, 27 Sep 2021 07:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/next-date-as-end-date-by-subject/m-p/770577#M30899</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-27T07:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: next date as end date by subject</title>
      <link>https://communities.sas.com/t5/New-SAS-User/next-date-as-end-date-by-subject/m-p/770565#M30896</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Customer_id date :date9.;
cards;
111 02JAN2021
111 05JAN2021
111 10JAN2021 
222 08JAN2021
333 12MAR2021
333 18MAR2021
;

data want;
merge have have(keep=date rename=(date=date2) firstobs=2);
run;

proc sort data=want;
by Customer_id;
run;

data want2;
set want;
by Customer_id;
if last.Customer_id then date2=date;
format date: date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Sep 2021 04:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/next-date-as-end-date-by-subject/m-p/770565#M30896</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-27T04:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in missing IDs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fill-in-missing-IDs/m-p/770281#M244364</link>
      <description>&lt;P&gt;Alternatively you may try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input ID Sex Injury_Type;
datalines;
1 1 1
. 1 2
. 1 3
2 2 1
. 2 3
;
run;

data want;
set have(rename=(id=_id));
by sex Injury_Type notsorted;
retain id;
if first.sex then id=.;
if _id ne . then id=_id;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Sep 2021 15:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fill-in-missing-IDs/m-p/770281#M244364</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-24T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with charts - clustered bar graph (?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-charts-clustered-bar-graph/m-p/770244#M22006</link>
      <description>&lt;P&gt;Hope this is what you are expecting&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input location$	testgrade	mathpct34;
cards;
local 3 39.4
state 3 42
national 3 56
local 4 39.8
state 4 44.2
national 4 56.3
local 5 40.6
state 5 38.1
national 5 47.2
;

proc sgplot data=want;
vbar testgrade / response=mathpct34 group=location groupdisplay=cluster;
xaxis display=(nolabel noline noticks);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_0-1632491925036.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64046i8ADCD2B042BD558A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_0-1632491925036.png" alt="Jagadishkatam_0-1632491925036.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 13:58:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-charts-clustered-bar-graph/m-p/770244#M22006</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-24T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: SGplot x axis ticks without lumping or losing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGplot-x-axis-ticks-without-lumping-or-losing-data/m-p/769803#M244119</link>
      <description>&lt;P&gt;Please try to use the option type=linear in xaxis statement as below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=nominees;
	where year &amp;gt; 1000;
	vbar year / group = type stat=freq groupdisplay=stack grouporder=descending;
	xaxis label = "Year" &lt;FONT color="#FF0000"&gt; type=linear&lt;/FONT&gt; values=(1960 to 2020 by 5);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_0-1632382688939.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63975i044F89AE844B3032/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_0-1632382688939.png" alt="Jagadishkatam_0-1632382688939.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGplot-x-axis-ticks-without-lumping-or-losing-data/m-p/769803#M244119</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-23T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc transpose help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-transpose-help/m-p/768893#M243903</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
input trt$ aval$ nobs pct;
datalines;
a complete 10 20
a disconti 20 40
b complete 20 40
b disconti 10 20
;

proc sort data=one;
by aval;
run;

proc transpose data=one out=want suffix=_nobs;
by  aval;
id trt;
var nobs;
run;

proc transpose data=one out=want2 suffix=_pct;
by  aval;
id trt;
var pct;
run;

data want3;
merge want(in=a drop=_name_) want2( drop=_name_);
by aval;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Sep 2021 16:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-transpose-help/m-p/768893#M243903</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-21T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Remove x axis percent values in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768816#M21996</link>
      <description>&lt;P&gt;You may try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XAXIS DISPLAY=(NOLABEL &lt;FONT color="#FF0000"&gt;NOTICKS&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;NOVALUES&lt;/FONT&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-x-axis-percent-values-in-proc-sgplot/m-p/768816#M21996</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-21T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: defining before and after dates using changing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/defining-before-and-after-dates-using-changing-dates/m-p/768549#M243781</link>
      <description>&lt;P&gt;Please try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input account_id PT_DT:date9. MTHLY_PAY MTHLY_PAY_DT_CHANGE:date9.;
format PT_DT MTHLY_PAY_DT_CHANGE date9.;
cards;
12345 01FEB2017 456.98 25JUL2016
12345 01FEB2017 480.64 12SEP2016
12345 01FEB2017 512.34 12FEB2017
12345 01FEB2017 476.96 23MAY2018
12346 01APR2020 984.76 15JUN2019
12346 01APR2020 887.91 03APR2020
12346 01APR2020 634.33 04MAR2021
;
run;

 

data want;
set have;
by account_id;
MTHLY_PAY_BEFORE_PT=lag(MTHLY_PAY);
if first.account_id then MTHLY_PAY_BEFORE_PT=.;
if PT_DT&amp;lt;=MTHLY_PAY_DT_CHANGE then flag=1;
MTHLY_PAY_AFTER_PT=MTHLY_PAY;
keep account_id PT_DT MTHLY_PAY_BEFORE_PT MTHLY_PAY_AFTER_PT flag;
run;

proc sort data=want;
by account_id;
where flag=1;
run;

data want;
set want;
by account_id;
if first.account_id;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Sep 2021 12:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/defining-before-and-after-dates-using-changing-dates/m-p/768549#M243781</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-20T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768413#M21988</link>
      <description>Thanks a lot Kris, the use of legenditem statement suggestion is helpful.</description>
      <pubDate>Sat, 18 Sep 2021 06:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768413#M21988</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-18T06:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768397#M21985</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13856"&gt;@Jay54&lt;/a&gt; for your response. I agree with you , the issue when i use var=usubjid is that i get two separate lines as per the expectation but the legend shows two lines for two subjects, however both of the subjects took the same dose , so i want to show the legend with the type pf dose taken in that case i should see only one row in legend. but that is not happening.</description>
      <pubDate>Fri, 17 Sep 2021 23:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768397#M21985</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T23:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768394#M21983</link>
      <description>The unending line is the line returning back to the origin again or circling back, its visible for the second subject data, and this is happening when i use the group=rgoup1 from the discreteattrmap. when i don't use it and simply put group=usubjid in seriesplot then the unending lines are not visible and the subject data is properly plotted. &lt;BR /&gt;&lt;BR /&gt;I want to use the group=rgroup1 from discreteattrmap, so that i can use it for controlling the legend. &lt;BR /&gt;&lt;BR /&gt;I hope i am clear, please check the images of the graphs i posted in the main message. Could you please help with me with it.</description>
      <pubDate>Fri, 17 Sep 2021 23:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768394#M21983</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T23:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768393#M21982</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;for your response ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I updated the code as below and i get&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data&amp;nbsp;full_subset;
infile&amp;nbsp;cards&amp;nbsp;missover;
input
RGROUP$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;USUBJID$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AVISITN MONTH&amp;nbsp;CHANGE;
cards;
dose1 00005 1 0 0
dose1 00005 1
dose1 00005 2 1.3 1.639344262
dose1 00005 2
dose1 00005 3 3.2 10.95081967
dose1 00005 3
dose1 00006 1 0 0
dose1 00006 1
dose1 00006 2 1.3 1.039344262
dose1 00006 2
dose1 00006 3 3.2 16.95081967
dose1 00006 3
;

proc&amp;nbsp;sort&amp;nbsp;data=full_subset;
by&amp;nbsp;rgroup&amp;nbsp;usubjid&amp;nbsp;avisitn;
run;
proc&amp;nbsp;template;
define&amp;nbsp;statgraph&amp;nbsp;sgplot;
begingraph&amp;nbsp;/ collation=binary&amp;nbsp;dataContrastColors=( red&amp;nbsp;orange green&amp;nbsp;violet yellow grey )&amp;nbsp;dataSymbols=( EOT );
SymbolChar&amp;nbsp;char=delta_u&amp;nbsp;NAME=EOT / scale=1;
discreteattrmap&amp;nbsp;name='TGROUPS';
value&amp;nbsp;'Treatment Ongoing'&amp;nbsp;/markerattrs=(symbol=trianglerightfilled&amp;nbsp;color=black size=12);
enddiscreteattrmap;
discreteattrvar&amp;nbsp;attrvar=TGROUP1 var=TGROUP&amp;nbsp;attrmap='TGROUPS';
discreteattrmap&amp;nbsp;name='RGROUPS';
value&amp;nbsp;'dose1'&amp;nbsp;/markerattrs=(symbol=squarefilled&amp;nbsp;color=red size=12)&amp;nbsp;Lineattrs=( Pattern=1&amp;nbsp;Thickness=2&amp;nbsp;color=red);
enddiscreteattrmap;
discreteattrvar&amp;nbsp;attrvar=RGROUP1 var=rgroup&amp;nbsp;attrmap='RGROUPS';

layout&amp;nbsp;overlay&amp;nbsp;/&amp;nbsp;walldisplay=(fill)&amp;nbsp;xaxisopts=(&amp;nbsp;Label="Time since first dose date (months)"&amp;nbsp;type=linear&amp;nbsp;linearopts=(tickvaluesequence=(start=0&amp;nbsp;end=15&amp;nbsp;increment=0.5)))&amp;nbsp;y2axisopts=(labelFitPolicy=Split)&amp;nbsp;yaxisopts=(&amp;nbsp;Label="Tumor size (% change from baseline)"&amp;nbsp;labelFitPolicy=Split type=linear )&amp;nbsp;y2axisopts=(labelFitPolicy=Split);

SeriesPlot&amp;nbsp;X=month&amp;nbsp;Y=change /xaxis=x&amp;nbsp;yaxis=y&amp;nbsp;/*Group=usubjid*/&amp;nbsp;break=true&amp;nbsp;LineColorGroup=RGROUP1&amp;nbsp;MarkerColorGroup=RGROUP1&amp;nbsp;markersymbolgroup=rgroup1&amp;nbsp;display=(markers)&amp;nbsp;LegendLabel="CHANGE"&amp;nbsp;NAME="trt";

Layout&amp;nbsp;Gridded&amp;nbsp;/&amp;nbsp;Border=true&amp;nbsp;autoalign=(topleft&amp;nbsp;topright)&amp;nbsp;valign=top;

Layout&amp;nbsp;Gridded;
endlayout;
endlayout;
DiscreteLegend&amp;nbsp;"trt"&amp;nbsp;/*"b"*/&amp;nbsp;/&amp;nbsp;Location=Inside&amp;nbsp;across=1&amp;nbsp;type=marker&amp;nbsp;halign=right&amp;nbsp;Title&amp;nbsp;="Dose Level"&amp;nbsp;ValueAttrs=(&amp;nbsp;Size=5)&amp;nbsp;Opaque=true&amp;nbsp;titleattrs=(family="Arial"&amp;nbsp;size=8pt)&amp;nbsp;titleborder=true&amp;nbsp;sortorder=ascendingformatted&amp;nbsp;autoalign=(TOPRIGHT)&amp;nbsp;order=rowmajor&amp;nbsp;border=false&amp;nbsp;valueattrs=(family="Arial"&amp;nbsp;size=8pt)&amp;nbsp;Opaque=true;

endlayout;
endgraph;
end;

run;

proc&amp;nbsp;sgrender&amp;nbsp;data=FULL_SUBSET&amp;nbsp;template=sgplot&amp;nbsp;/*sganno=anno*/;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_0-1631919979029.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63695iC4AD02287368CC92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_0-1631919979029.png" alt="Jagadishkatam_0-1631919979029.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 23:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768393#M21982</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T23:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768356#M21978</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13856"&gt;@Jay54&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 19:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768356#M21978</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T19:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Difference of a value from one variable and the lead of another value in the same variable??</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-of-a-value-from-one-variable-and-the-lead-of-another/m-p/768340#M243709</link>
      <description>&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input ID$ Tst$ test_rt number;
cards;
1 dp 20 1
1 rp 0 1
1 dp 35 2
1 rp 20 2
1 dp 0 3
1 rp 20 3
;

 
data want;
set have;
by number notsorted;
retain new_number;
if first.number then new_number=test_rt;
if last.number then dif=test_rt -new_number;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Sep 2021 18:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-of-a-value-from-one-variable-and-the-lead-of-another/m-p/768340#M243709</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T18:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768330#M21977</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10604"&gt;@djrisks&lt;/a&gt;&amp;nbsp;for your response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried updating the code to use group=usubjid, and this will generate the graph without the unending lines. But it will affect the legend, like it will display two rows for two subjects and if there are many subjects then the same number of rows will be displayed in the legend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_0-1631894269879.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63687iCE034A805B69A500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_0-1631894269879.png" alt="Jagadishkatam_0-1631894269879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this is not my expectation, I want to avoid the unending lines but still display only one row for legend as both the subjects took the same dose i.e., 'dose1'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_1-1631894405357.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63688i53249C9730928567/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_1-1631894405357.png" alt="Jagadishkatam_1-1631894405357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 16:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768330#M21977</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filling missing strings form non-missing strings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-missing-strings-form-non-missing-strings/m-p/768316#M243690</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sort data=have;
by exe_name descending ceoann;
run;

data want;
set have(rename=(ceoann=_ceoann));
by exe_name descending  _ceoann;
retain ceoann;
if first.exe_name then ceoann=_ceoann;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Sep 2021 15:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-missing-strings-form-non-missing-strings/m-p/768316#M243690</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T15:00:55Z</dc:date>
    </item>
    <item>
      <title>unending lines in the series plot of proc template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768220#M21974</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is with regard to the unending lines issue observed in the proc template when i use the discreteattrmap. I want to use the discreteattrmap and still avoid the unending lines. Here is the sample code and dummy data, please let us know how i can avoid the unending lines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data full_subset;
input RGROUP$      USUBJID$     AVISITN MONTH CHANGE;
cards;
dose1 00005 1 0 0
dose1 00005 2 1.3 1.639344262
dose1 00005 3 3.2 10.95081967
dose1 00006 1 0 0
dose1 00006 2 1.3 1.039344262
dose1 00006 3 3.2 16.95081967
;

proc sort data=full_subset;
by rgroup usubjid avisitn;
run;

proc template;
define statgraph sgplot;
begingraph / collation=binary dataContrastColors=( red orange green violet yellow grey ) dataSymbols=( EOT );
SymbolChar char=delta_u NAME=EOT / scale=1;
discreteattrmap name='TGROUPS';
value 'Treatment Ongoing' /markerattrs=(symbol=trianglerightfilled color=black size=12);
enddiscreteattrmap;
discreteattrvar attrvar=TGROUP1 var=TGROUP attrmap='TGROUPS';
discreteattrmap name='RGROUPS';

value 'dose1' /markerattrs=(symbol=squarefilled color=red size=12) Lineattrs=( Pattern=1 Thickness=2 color=red);
enddiscreteattrmap;

discreteattrvar attrvar=RGROUP1 var=rgroup attrmap='RGROUPS';

layout overlay / walldisplay=(fill) xaxisopts=( Label="Time since first dose date (months)" type=linear linearopts=(tickvaluesequence=(start=0 end=15 increment=0.5))) y2axisopts=(labelFitPolicy=Split) yaxisopts=( Label="Tumor size (% change from baseline)" labelFitPolicy=Split type=linear ) y2axisopts=(labelFitPolicy=Split);

SeriesPlot X=month Y=change /xaxis=x yaxis=y Group=RGROUP1 LineColorGroup=RGROUP1 MarkerColorGroup=RGROUP1 markersymbolgroup=rgroup1 display=(markers) LegendLabel="CHANGE" NAME="trt";

 Layout Gridded / Border=true autoalign=(topleft topright) valign=top;

Layout Gridded;

endlayout;

endlayout;

DiscreteLegend "trt" /*"b"*/ / Location=Inside across=1 type=marker halign=right Title ="Dose Level" ValueAttrs=( Size=5) Opaque=true titleattrs=(family="Arial" size=8pt) titleborder=true sortorder=ascendingformatted autoalign=(TOPRIGHT) order=rowmajor border=false valueattrs=(family="Arial" size=8pt) Opaque=true;

endlayout;

endgraph;
end;
run;

proc sgrender data=FULL_SUBSET template=sgplot  ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_0-1631850577419.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63677iFED2CF1E4FA2A249/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_0-1631850577419.png" alt="Jagadishkatam_0-1631850577419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i am expecting is as below, where we can observe the unending lines but the legend is disturbed. I want the legend as dose1 with only 1 row&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jagadishkatam_1-1631850684319.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63678iB324512F241DE785/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jagadishkatam_1-1631850684319.png" alt="Jagadishkatam_1-1631850684319.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 03:52:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/unending-lines-in-the-series-plot-of-proc-template/m-p/768220#M21974</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-17T03:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Assign values to a new var by 1st valid value of another var for all records of the same custome</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assign-values-to-a-new-var-by-1st-valid-value-of-another-var-for/m-p/767469#M243319</link>
      <description>&lt;P&gt;Please try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Customer_ID $1 Customer_Cat $3 ;
datalines;
1 A
1 A
1 A
2  
2 B
2 B
3  
3  
3 A
3 C
4  
4  
4 C
4 D
4 D
4 C
;
run;

data first;
set have;
by Customer_ID;
where Customer_Cat ne '';
if first.Customer_ID;
Derived_Customer_Cat =Customer_Cat;
keep Customer_ID Derived_Customer_Cat;
run;

data want2;
merge have(in=a) first(in=b) ;
by Customer_ID;
if a;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assign-values-to-a-new-var-by-1st-valid-value-of-another-var-for/m-p/767469#M243319</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-13T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Use of SYMBOL for annotation in SGRENDER</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-of-SYMBOL-for-annotation-in-SGRENDER/m-p/766664#M242993</link>
      <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I have a question on how to use the annotation dataset with function='SYMBOL' to display triangle with black color filled. I want to use this annotated dataset in proc SGRENDER with proc template. But I cannot see the symbol plotted in the graph at all. Your inputs are highly appreciated on where I am going wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; DATA anno;
ATTRIB FUNCTION LENGTH = $20;
FUNCTION = "SYMBOL";
text='TRIANGLE';
style='marker';
X1 = 6;
Y1 = 187;
position='3';
anchor='';
size=3;
color='black';
OUTPUT;
RUN;&lt;BR /&gt;&lt;BR /&gt;in the proc template after the overlay i used the annotate statement as well&lt;BR /&gt;&lt;BR /&gt;proc sgrender data=want template=plot sganno=anno;&lt;BR /&gt;run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Sep 2021 18:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-of-SYMBOL-for-annotation-in-SGRENDER/m-p/766664#M242993</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2021-09-08T18:41:04Z</dc:date>
    </item>
  </channel>
</rss>

