<?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 Report in a pre-difined template!! in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140829#M37637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume my data set structure is:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="196" style="width: 381px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Month&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Zone&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Emp. ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="77"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Prod A Sale&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="76"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Prod B Sale&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1235&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1236&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1235&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1236&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we create a report in following template?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/8883_pastedImage_0.png" style="width: 374px; height: 381px;" /&gt;Report i-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 21:20:26 GMT</pubDate>
    <dc:creator>Dreamer</dc:creator>
    <dc:date>2015-01-27T21:20:26Z</dc:date>
    <item>
      <title>Report in a pre-difined template!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140829#M37637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume my data set structure is:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="196" style="width: 381px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Month&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Zone&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Emp. ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="77"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Prod A Sale&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="76"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Prod B Sale&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1235&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Jan-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1236&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1235&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;Feb-14&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;East&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1236&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we create a report in following template?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/8883_pastedImage_0.png" style="width: 374px; height: 381px;" /&gt;Report i-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140829#M37637</guid>
      <dc:creator>Dreamer</dc:creator>
      <dc:date>2015-01-27T21:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Report in a pre-difined template!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140830#M37638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc tabulate with BY processing will generate the table formats. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking to replicate the style - colours, lines as well? If so you may want to look into proc template. &lt;/P&gt;&lt;P&gt;I'd start with getting the numbers in the correct format and then work on the style. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:29:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140830#M37638</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-27T21:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Report in a pre-difined template!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140831#M37639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'd better post it at &lt;A _jive_internal="true" data-containerid="2007" data-containertype="14" data-objectid="6" data-objecttype="14" href="https://communities.sas.com/community/support-communities/ods_and_base_reporting" style="color: #0e66ba; background-color: #f0f8fb;"&gt;ODS and Base Reporting&lt;/A&gt; . it is an ODS problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 08:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140831#M37639</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-01-28T08:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report in a pre-difined template!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140832#M37640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; and &lt;A __default_attr="645292" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; l!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods escapechar="'";&lt;/P&gt;&lt;P&gt;options device=ACTXIMG;&lt;/P&gt;&lt;P&gt;ods excel&lt;/P&gt;&lt;P&gt;file="\\&amp;lt;&amp;lt;Output location&amp;gt;&amp;gt;\MEDICAL_CLAIM_DETAIL.xlsx"&lt;/P&gt;&lt;P&gt;&amp;nbsp; options(sheet_interval='none' sheet_name='Sales Report' sheet_label=' ' suppress_bylines='yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; orientation='landscape' fittopage='yes' embedded_titles='yes' autofit_height='yes' center_horizontal='yes' &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; embedded_footnotes='yes')&lt;/P&gt;&lt;P&gt;&amp;nbsp; style=minimal ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title j=left font=Calibri h=3 "Month(&lt;STRONG&gt;#byval1&lt;/STRONG&gt;)";&lt;/P&gt;&lt;P&gt;title2 j=left font=Calibri h=3 "Zone : &lt;STRONG&gt;#byval2"&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=claim&lt;/P&gt;&lt;P&gt;style(report)=[borderstyle=solid bordercolor=black BACKGROUND=TRANSPARENT]&lt;/P&gt;&lt;P&gt;style(header)=[background=CX1F497D color=white fontfamily=calibri fontsize=3 textalign=c verticalalign=T borderstyle=solid bordercolor=black]&lt;/P&gt;&lt;P&gt;style(column)=[fontfamily=calibri fontsize=2.8 textalign=c borderstyle=solid bordercolor=black ];&lt;/P&gt;&lt;P&gt;by date_month Zone; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;column EmpID,ProdA, ProdB,;&lt;/P&gt;&lt;P&gt;define date_month / order noprint;&lt;/P&gt;&lt;P&gt;define EmpID / display '' style=[bordercolor=white background=white];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define ProdA / analysis 'Product A Sale';&lt;/P&gt;&lt;P&gt;define ProdB / analysis 'Product B Sale';&lt;/P&gt;&lt;P&gt;rbreak after / page summarize;&lt;/P&gt;&lt;P&gt;compute after ;&lt;/P&gt;&lt;P&gt;emp='Total';&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 15:10:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Report-in-a-pre-difined-template/m-p/140832#M37640</guid>
      <dc:creator>Dreamer</dc:creator>
      <dc:date>2015-01-28T15:10:38Z</dc:date>
    </item>
  </channel>
</rss>

