<?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: ODS PDF and bygroup in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609453#M23594</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; That is odd. When I run a modified version of your code (to control the label on the Top Node and use the By line values) using 9.4M5, I get this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use_byline_info.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34449i23BFD4A5B67F8ECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="use_byline_info.png" alt="use_byline_info.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But even running your original code in 9.4M5 without any changes, I get school=A and school=B, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="orig_code.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34450i535DE581331313A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="orig_code.png" alt="orig_code.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is odd that when you run the code you get Bygroup1 and Bygroup2. You might want to check with Tech Support. They can run your actual code against your actual data and help you find an answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 17:25:38 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-12-04T17:25:38Z</dc:date>
    <item>
      <title>ODS PDF and bygroup</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609425#M23593</link>
      <description>&lt;P&gt;In creating an ods pdf file, with a by group, i find that in the Table of Contents outputted pdf file, i sometimes get bygroup1, bygroup2, etc., and other times the Table of Contents has the actual names of the by groups....and i have no reason why the difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The last couple days, it seems stuck in the&amp;nbsp;bygroup1, bygroup2, etc. printout - so, my question:&lt;/P&gt;
&lt;P&gt;Any suggestions how to make the Table of Contents print out the actual by group values?&lt;/P&gt;
&lt;P&gt;(i've included some stripped-down code, and the pdf created from the code)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
options byline;
data a; 
school = 'A'; value = 1; output;
school = 'B'; value = 1; output;
run;

ods pdf file='c:\temp\test.pdf' contents;
proc sgplot data=a;
vbar school/response=value;
by school;
run;
ods pdf close;


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 15:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609425#M23593</guid>
      <dc:creator>Dave25</dc:creator>
      <dc:date>2019-12-04T15:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF and bygroup</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609453#M23594</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; That is odd. When I run a modified version of your code (to control the label on the Top Node and use the By line values) using 9.4M5, I get this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use_byline_info.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34449i23BFD4A5B67F8ECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="use_byline_info.png" alt="use_byline_info.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But even running your original code in 9.4M5 without any changes, I get school=A and school=B, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="orig_code.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34450i535DE581331313A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="orig_code.png" alt="orig_code.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is odd that when you run the code you get Bygroup1 and Bygroup2. You might want to check with Tech Support. They can run your actual code against your actual data and help you find an answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 17:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609453#M23594</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-12-04T17:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF and bygroup</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609480#M23596</link>
      <description>&lt;P&gt;Cynthia,&lt;/P&gt;
&lt;P&gt;Thank you for the reply.&amp;nbsp; This is odd - tried your code, and still get the ByGroup1, ByGroup2 (and get neither the "Top node" nor the "Graph for School" heading). I do have 9.4M5.&lt;/P&gt;
&lt;P&gt;Thanks again, will contact Tech Support.&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 18:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609480#M23596</guid>
      <dc:creator>Dave25</dc:creator>
      <dc:date>2019-12-04T18:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF and bygroup</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609488#M23597</link>
      <description>I re-started SAS, ran your code, and it's now working! &lt;BR /&gt;(both with the code you provided, and with my original code). Guess we'll leave it as one of life's mysteries.</description>
      <pubDate>Wed, 04 Dec 2019 19:11:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-and-bygroup/m-p/609488#M23597</guid>
      <dc:creator>Dave25</dc:creator>
      <dc:date>2019-12-04T19:11:58Z</dc:date>
    </item>
  </channel>
</rss>

