<?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 Can PROC SGPANEL do specific levels? in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Can-PROC-SGPANEL-do-specific-levels/m-p/606342#M8339</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPANEL NOAUTOLEGEND DATA=sdhouse;
    PANELBY Section8;
    SERIES X=LinTime Y=Housing / GROUP = ID LINEATTRS =(THICKNESS=1);
    keylegend;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My code is listed above. My Y variable, Housing, has 3 levels. I would like to only have level = 1 used. Is there a way to make this work with PROC SGPANEL?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 23:25:11 GMT</pubDate>
    <dc:creator>CynicalFire</dc:creator>
    <dc:date>2019-11-21T23:25:11Z</dc:date>
    <item>
      <title>Can PROC SGPANEL do specific levels?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-PROC-SGPANEL-do-specific-levels/m-p/606342#M8339</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPANEL NOAUTOLEGEND DATA=sdhouse;
    PANELBY Section8;
    SERIES X=LinTime Y=Housing / GROUP = ID LINEATTRS =(THICKNESS=1);
    keylegend;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My code is listed above. My Y variable, Housing, has 3 levels. I would like to only have level = 1 used. Is there a way to make this work with PROC SGPANEL?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 23:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-PROC-SGPANEL-do-specific-levels/m-p/606342#M8339</guid>
      <dc:creator>CynicalFire</dc:creator>
      <dc:date>2019-11-21T23:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC SGPANEL do specific levels?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-PROC-SGPANEL-do-specific-levels/m-p/606344#M8340</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/300562"&gt;@CynicalFire&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPANEL NOAUTOLEGEND DATA=sdhouse;
    PANELBY Section8;
    SERIES X=LinTime Y=Housing / GROUP = ID LINEATTRS =(THICKNESS=1);
    keylegend;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My code is listed above. My Y variable, Housing, has 3 levels. I would like to only have level = 1 used. Is there a way to make this work with PROC SGPANEL?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can always restrict data with a data set option where clause such as (assuming the value is numeric)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PROC SGPANEL NOAUTOLEGEND DATA=sdhouse (where = (housing=1));
   PANELBY Section8;
   SERIES X=LinTime Y=Housing / GROUP = ID LINEATTRS =(THICKNESS=1);
   keylegend; 

RUN;&lt;/PRE&gt;
&lt;P&gt;Many procedure will also allow a WHERE statement&lt;/P&gt;
&lt;PRE&gt;PROC SGPANEL NOAUTOLEGEND DATA=sdhouse;
   where  housing=1;
   PANELBY Section8; 
   SERIES X=LinTime Y=Housing / GROUP = ID LINEATTRS =(THICKNESS=1); 
   keylegend; 
RUN;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 23:42:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-PROC-SGPANEL-do-specific-levels/m-p/606344#M8340</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-21T23:42:15Z</dc:date>
    </item>
  </channel>
</rss>

