<?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 proc report like decision tree diagram in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212853#M14020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the dataset reports with &lt;STRONG&gt;proc reports&lt;/STRONG&gt;:&lt;BR /&gt;info CW is calendar-week&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 560px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="6" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="480"&gt;VAR1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;0&lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt;CW&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt; &lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15W01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;300&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to have the report like &lt;STRONG&gt;decision tree &lt;/STRONG&gt;diagram:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 560px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center;" width="80"&gt;CW &lt;/TD&gt;&lt;TD class="xl67" colspan="6" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="480"&gt;VAR1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;SPAN class="font5"&gt;15W01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;435&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;25&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;315&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;20&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;5&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;VAR3&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;300&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;15&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;20&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;3&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl71" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt; &lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;300&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so, for&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman';"&gt;15W01, 15W02, 15W03, ….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have only SAS BASE 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Can anyone know how to get this Report? Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 09:11:26 GMT</pubDate>
    <dc:creator>carslan</dc:creator>
    <dc:date>2015-05-11T09:11:26Z</dc:date>
    <item>
      <title>proc report like decision tree diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212853#M14020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the dataset reports with &lt;STRONG&gt;proc reports&lt;/STRONG&gt;:&lt;BR /&gt;info CW is calendar-week&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 560px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="6" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="480"&gt;VAR1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;0&lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt;&lt;TD class="xl66" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl69" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;1&lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt;CW&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt; &lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15W01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;300&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to have the report like &lt;STRONG&gt;decision tree &lt;/STRONG&gt;diagram:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 560px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center;" width="80"&gt;CW &lt;/TD&gt;&lt;TD class="xl67" colspan="6" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="480"&gt;VAR1&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;SPAN class="font5"&gt;15W01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;435&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;25&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt;&lt;TD class="xl67" colspan="3" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="240"&gt;VAR2&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;315&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;20&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;5&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;VAR3&lt;/TD&gt;&lt;TD class="xl67" colspan="2" style="text-align: center; border-right-color: lightgrey; border-left-color: currentColor; border-right-width: 1pt; border-left-width: medium; border-right-style: solid; border-left-style: none;" width="160"&gt;VAR3&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl65" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;300&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;15&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;20&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;3&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt;&lt;TD class="xl71" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt;&lt;TD class="xl65" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;sum&lt;/TD&gt; &lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="21" style="text-align: center; border-top-color: currentColor; border-top-width: medium; border-top-style: none;" width="80"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;300&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="text-align: center; border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;" width="80"&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman';"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so, for&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman';"&gt;15W01, 15W02, 15W03, ….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have only SAS BASE 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Can anyone know how to get this Report? Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212853#M14020</guid>
      <dc:creator>carslan</dc:creator>
      <dc:date>2015-05-11T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc report like decision tree diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212854#M14021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are other procedures for SAS that do decision trees, but your example doesn't look like modeling. It looks more like a nested summary report. PROC REPORT and PROC TABULATE will both do summary reports, but won't "skip" variables on rows the way you show (such that VAR1 is in the middle. But, here's an example of what TABULATE would do for you (showing 15W01 only):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab_nested_table.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10336_tab_nested_table.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, here's an example of what REPORT would do for you:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="report_nested_table.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/10335_report_nested_table.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course, since you didn't post any input data, I had to make some fake data. So the structure of your input data will make a difference to the final code for you. For example, given that you said this was weekly data, I made a fake "DAY" variable, which you might not have in your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS does have procedures that do decision trees (PROC DTREE), but that is more for modeling than what you seem to show (simple SUM).&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 15:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212854#M14021</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-11T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc report like decision tree diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212855#M14022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Thanks a lot for your support. Maybe my text was not clear.&amp;nbsp; here is the data for only CW 15W01&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt; data decison;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input CK $ VAR1 VAR2 VAR3 SUM;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 0 0 0 120&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 0 1 0 300&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 0 1 1 15&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 1 0 0 20&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 1 1 0&amp;nbsp; 2&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;15W01 1 1 1&amp;nbsp; 3&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;run;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt; with proc report I have this table like your proc report table&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;&lt;IMG alt="proc_report.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10338_proc_report.JPG" width="450" /&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;But I want to have this table.&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;I want have SUM for every variable or class&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv3170309713msonormal"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="last.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10339_last.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I can do with 3 different proc report table. but I must do or show only one proc report table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212855#M14022</guid>
      <dc:creator>carslan</dc:creator>
      <dc:date>2015-05-11T17:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc report like decision tree diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212856#M14023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; That is rather dicey to produce, since the header values are placed in PROC REPORT header cells, one row at a time. So, at the point in time AFTER the VAR1 has been written on header row 1 and AFTER the 1 and 0 have been written on header row 2, there is no visibility of the value that was just written in the previous row in order to write the 435 and the 25. So that will be a challenge you might get around with some kind of macro programming. But I do not think that this is really possible with PROC REPORT without at LOT of pre-processing of the data or the report. If you have presummarized all the totals, you might be able to do this with a custom TABLE template or with the Report Writing interface and a DATA step. But really, I am doubtful that PROC REPORT will be able to give you what you want. You might want to check with Tech Support before you start investigating other technology, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 22:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/212856#M14023</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-11T22:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc report like decision tree diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/534028#M22356</link>
      <description>&lt;P&gt;Hey, I know that this post is almost 4 years old, however, I am looking into something along the same lines.&amp;nbsp; I have a Excel Template that displays data in a tree downward as subsets fo the the total. I was looking for Proc Report help to re-create this template, to reduce cut and paste to Excel.&lt;/P&gt;
&lt;P&gt;What was you final solution?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 18:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-like-decision-tree-diagram/m-p/534028#M22356</guid>
      <dc:creator>TBarney</dc:creator>
      <dc:date>2019-02-08T18:28:39Z</dc:date>
    </item>
  </channel>
</rss>

