<?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: Column Label Changes on PDF Export in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308626#M20834</link>
    <description>It looks like the issue isn't the tabulate or output, but the gridded statement that I have. Going to do more research and see if I can find a solution, if not I'll create a new thread more specific to the grid/layout.</description>
    <pubDate>Tue, 01 Nov 2016 21:15:03 GMT</pubDate>
    <dc:creator>laura6728</dc:creator>
    <dc:date>2016-11-01T21:15:03Z</dc:date>
    <item>
      <title>Column Label Changes on PDF Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308607#M20832</link>
      <description>&lt;P&gt;Good afternoon! I have a strange occurance that we aren't able to track down a solution for just yet.&amp;nbsp; When I run the tabulate below EG shows the following output:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5598iA93394C7F976143B/image-size/original?v=v2&amp;amp;px=-1" alt="EG_output.JPG" title="EG_output.JPG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I view the pdf that is being written during the process, I get the following output; notice how Gender changes to Has Pell:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5599i27FEAE6DC593A59D/image-size/original?v=v2&amp;amp;px=-1" alt="pdf_output.JPG" title="pdf_output.JPG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea why it is doing this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods pdf file="&amp;amp;FILELOC"
notoc
STYLE=ATD;

options papersize=LEGAL orientation=landscape nodate LEFTMARGIN=.25IN RIGHTMARGIN=.25IN MISSING=0;

/* SET GRID DIMENSIONS */

TITLE1 BOLD "Remedial Math - 1 Level Below";
TITLE2;
FOOTNOTE "Generated by the Office of Institutional Research on %TRIM(%QSYSFUNC(DATE(), NLDATE20.))";
ods layout gridded rows = 2 columns = 4 column_gutter=.25in;


%let CYEAR = 2012; /* COHORT YEAR */
%let TERM1 = &amp;amp;CYEAR.FA; /* COHORT TERM */
ods region row = 1 column = 1;
ods text= "&amp;amp;CYEAR Cohort";
ods text= "Attempted in Fall";

PROC TABULATE DATA=WORK.DEV_&amp;amp;TERM1. format=6. MISSING STYLE=[background=white] ORDER=FORMATTED;
WHERE (MaRAI_fall = '1' AND MaRGI_fall NOT IN(-1,.));
    CLASS gender raceethn has_pell_fall / STYLE=[background=LIGHTGREY ];
	CLASS MaRGI_fall  / STYLE=[background=white];
    TABLES (gender={LABEL='Gender'} raceethn={LABEL='Ethnic Origin'} has_pell_fall={LABEL='Has Pell'} all),
		MaRGI_fall={LABEL='Grade Rem Math - 1 Level'}*(n='N'*f=4. rowpctN='%'*f=4.1)*[s=[background=white CELLWIDTH=.3in]];
FORMAT gender $GENDER. raceethn $RACEETHN. MaRGI_fall DEV_GRADE.;
RUN;

ods pdf close;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Nov 2016 19:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308607#M20832</guid>
      <dc:creator>laura6728</dc:creator>
      <dc:date>2016-11-01T19:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Column Label Changes on PDF Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308618#M20833</link>
      <description>&lt;P&gt;Without data to test or complete few of the table it isn't easy to diagnose.&lt;/P&gt;
&lt;P&gt;Does this do the same thing:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TABULATE DATA=WORK.DEV_&amp;amp;TERM1. format=6. MISSING STYLE=[background=white] ORDER=FORMATTED;
WHERE (MaRAI_fall = '1' AND MaRGI_fall NOT IN(-1,.));
    CLASS gender raceethn has_pell_fall / STYLE=[background=LIGHTGREY ];
	CLASS MaRGI_fall  / STYLE=[background=white];
    TABLE gender raceethn has_pell_fall all,
		MaRGI_fall *(n='N'*f=4. rowpctN='%'*f=4.1)*[s=[background=white CELLWIDTH=.3in]];
   FORMAT gender $GENDER. raceethn $RACEETHN. MaRGI_fall DEV_GRADE.;
   label 
      gender         ='Gender'
      raceethn       ='Ethnic Origin'
      has_pell_fall  ='Has Pell'
      MaRGI_fall     ='Grade Rem Math - 1 Level'
   ;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would also try your code without the () around the first bit of the table statement.&lt;/P&gt;
&lt;P&gt;You might check the log as well. I think you are getting a warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 20:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308618#M20833</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-11-01T20:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Column Label Changes on PDF Export</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308626#M20834</link>
      <description>It looks like the issue isn't the tabulate or output, but the gridded statement that I have. Going to do more research and see if I can find a solution, if not I'll create a new thread more specific to the grid/layout.</description>
      <pubDate>Tue, 01 Nov 2016 21:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Column-Label-Changes-on-PDF-Export/m-p/308626#M20834</guid>
      <dc:creator>laura6728</dc:creator>
      <dc:date>2016-11-01T21:15:03Z</dc:date>
    </item>
  </channel>
</rss>

