<?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: How to manage content with proc report including graphs in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437153#M20396</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;&amp;nbsp; I am not sure why you are using PROC REPORT for a HISTOGRAM however, the extra TABLE1 node is a known PROC REPORT "feature" and there are ways to get rid of it, as described in this Tech Support note: &lt;A href="http://support.sas.com/kb/31/278.html" target="_blank"&gt;http://support.sas.com/kb/31/278.html&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 15:41:13 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-02-14T15:41:13Z</dc:date>
    <item>
      <title>How to manage content with proc report including graphs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437047#M20392</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I try to create a report (doc) with tables and graphs but when i include a graph with proc report, line table appears in content (see line in red):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Contents.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18526iDD5CCB69BD76185F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Contents.png" alt="Contents.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please find my code below&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='\\vcarapp010\Rapports\01 - Pivotal study\Report\ReportForAllPatients\SixMinWalktest_CPX_Test_Report.doc' dpi=300 contents=yes toc_data;
ods noproctitle;
ods escapechar='~';
footnote1 j=left "~S={preimage='\\vcarapp010\Rapports\03 - MATERIALS FOR REPORT\Logocarmat2.JPG'}" j=r 'Page ~{thispage}';/*/~{lastpage}*/


ods proclabel 'Chapter 1: Six minutes Walkin test ';
proc report data= sixminuteWalkingTest2 nowd CONTENTS='Table 1.1 - Six minutes walking Test - Distance'; 
column INDEX Patient_Code preOp_value m1_value m2_value m3_value;
define index / group noprint;
break before index/ contents="" page;
define Patient_Code / style={cellwidth=15%} "Patient";
define preOp_value / style={cellwidth=10%} "Pre-Op";
define m1_value / style={cellwidth=10%} "M1";
define m2_value / style={cellwidth=10%} "M2";
define m3_value / style={cellwidth=10%} "M3";
title1 "Study Code: CAR2016-01 / Date: &amp;amp;SYSDATE.";
title2 'Table 1.1 - Six minutes walking Test - Distance'; 
run;



data pt1;
set sixminuteWalkingTest2;
run;

proc sort data=pt1;
by index;
run;

data pt1;
set pt1;
by index;
if last.index;
keep index;
run;


data fmt;
   set pt1;
   fmtname = "mypic";
   start =1;
   label = "\\vcarapp010\Rapports\01 - Pivotal study\Graphs\Histo_SixMinWalk.png";
   keep fmtname label start;
run;

/* Create the format containing the links to the images. */
proc format cntlin=fmt;
run;

/* Create a format to blank out values in the column that will contain the image. */
proc format;
   value blank other=" ";
run;

ods listing close;

data pt1;
set pt1;
index=1;
run;
ods rtf startpage=No;  /*pour avoir un saut de page */
ods proclabel '  ';

proc report data=pt1 nowd CONTENTS="Graph 1.2: Six minutes walking test Histogram"
 style(report)={background=white}
  style(header)={foreground=black background=white height=0}
  style(column)={just=right};
   column index ('' image);
   define index / group noprint;
   break before index/ contents="" ;
   define image/ '' computed style(column)=[postimage=mypic. just=l cellwidth=7.0 in ] format=blank.;

   /* Set the computed variable equal to the variable */
   /* value that matches the value in the $Mypic. format. */
   compute image ;
      image = 1;
   endcomp;
title1 "Study Code: CAR2016-01 / Date: &amp;amp;SYSDATE.";
title2 "Graph 1.2: Six minutes walking test Histogram"; 
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for you help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 11:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437047#M20392</guid>
      <dc:creator>PSIOT</dc:creator>
      <dc:date>2018-02-14T11:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage content with proc report including graphs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437092#M20393</link>
      <description>&lt;P&gt;Try add one option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd contents='';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Feb 2018 14:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437092#M20393</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-02-14T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage content with proc report including graphs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437145#M20395</link>
      <description>&lt;P&gt;Thank for you answer,&lt;/P&gt;&lt;P&gt;like this?:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=pt1 nowd contents=''
 style(report)={background=white}
  style(header)={foreground=black background=white height=0}
  style(column)={just=right};
   column index ('' image);
   define index / group noprint;
   break before index/ contents="" ;
   define image/ '' computed style(column)=[postimage=mypic. just=l cellwidth=7.0 in ] format=blank.;

   /* Set the computed variable equal to the variable */
   /* value that matches the value in the $Mypic. format. */
   compute image ;
      image = 1;
   endcomp;
title1 "Study Code: CAR2016-01 / Date: &amp;amp;SYSDATE.";
title2 "Graph 1.2: Six minutes walking test Histogram"; 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But I lose true title of chapter and table 1 is still there.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437145#M20395</guid>
      <dc:creator>PSIOT</dc:creator>
      <dc:date>2018-02-14T15:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage content with proc report including graphs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437153#M20396</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&amp;nbsp; I am not sure why you are using PROC REPORT for a HISTOGRAM however, the extra TABLE1 node is a known PROC REPORT "feature" and there are ways to get rid of it, as described in this Tech Support note: &lt;A href="http://support.sas.com/kb/31/278.html" target="_blank"&gt;http://support.sas.com/kb/31/278.html&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-manage-content-with-proc-report-including-graphs/m-p/437153#M20396</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-02-14T15:41:13Z</dc:date>
    </item>
  </channel>
</rss>

