<?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 Difficulty with proc report output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45265#M5974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help with proc report output. If you submit the code below, you will notice that the report contains an empty space for week three on monday. Is there any way to prevent this by making sure that the tuesday rows are printed on the first row of week three? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: Code simplified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WORK.theatre_dim;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LENGTH THEATRE $3. WEEK $1. DAY SESSION $10. REVENUE 8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INFILE DATALINES4&amp;nbsp; DLM=';' MISSOVER&amp;nbsp;&amp;nbsp; DSD ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INPUT THEATRE :$3. WEEK :$1. DAY :$10. SESSION :$10. REVENUE :BEST12. ;&lt;/P&gt;&lt;P&gt;DATALINES4;&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION1;4000&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION2;4000&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION7;4000&lt;/P&gt;&lt;P&gt;TH7;3;Tuesday;SESSION3;2000&lt;/P&gt;&lt;P&gt;TH7;3;Tuesday;SESSION4;2000&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=theatre_dim&amp;nbsp; nowd ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column THEATRE&amp;nbsp; WEEK&amp;nbsp;&amp;nbsp; DAY, ( SESSION REVENUE );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define THEATRE / group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define WEEK / group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define session / display;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define DAY / ACROSS ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define REVENUE /&amp;nbsp; sum;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 14:59:13 GMT</pubDate>
    <dc:creator>johnc_sas</dc:creator>
    <dc:date>2011-11-10T14:59:13Z</dc:date>
    <item>
      <title>Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45265#M5974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help with proc report output. If you submit the code below, you will notice that the report contains an empty space for week three on monday. Is there any way to prevent this by making sure that the tuesday rows are printed on the first row of week three? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: Code simplified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WORK.theatre_dim;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LENGTH THEATRE $3. WEEK $1. DAY SESSION $10. REVENUE 8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INFILE DATALINES4&amp;nbsp; DLM=';' MISSOVER&amp;nbsp;&amp;nbsp; DSD ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INPUT THEATRE :$3. WEEK :$1. DAY :$10. SESSION :$10. REVENUE :BEST12. ;&lt;/P&gt;&lt;P&gt;DATALINES4;&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION1;4000&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION2;4000&lt;/P&gt;&lt;P&gt;TH7;3;Monday;SESSION7;4000&lt;/P&gt;&lt;P&gt;TH7;3;Tuesday;SESSION3;2000&lt;/P&gt;&lt;P&gt;TH7;3;Tuesday;SESSION4;2000&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=theatre_dim&amp;nbsp; nowd ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column THEATRE&amp;nbsp; WEEK&amp;nbsp;&amp;nbsp; DAY, ( SESSION REVENUE );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define THEATRE / group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define WEEK / group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define session / display;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define DAY / ACROSS ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define REVENUE /&amp;nbsp; sum;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 14:59:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45265#M5974</guid>
      <dc:creator>johnc_sas</dc:creator>
      <dc:date>2011-11-10T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45266#M5975</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;&amp;nbsp; I'm not at a point where I can run your code, but I suspect it has something to do with the fact that your UTILISATION variable is DISPLAY along with the fact that you have presummarized the data and done&amp;nbsp; ordering in your SQL query by DATE THEATRE, and SESSION and then use GROUP for THEATRE and WEEK in your DEFINE statements. This means that you will get a unique row for every WEEK within THEATRE. Which means, for example, that summarized values belonging to WEEK 3 for Tuesday will NOT "move up" to an empty WEEK 2 report row or that WEEK 4 report info will "move up" to the WEEK 3 report row. If WEEK is not relevant to your report grouping and ordering, then you should take it off the report. If WEEK is relevant to your report grouping, then PROC REPORT will treat each week as being unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You might want to open a track with Tech Support for more help with your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 18:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45266#M5975</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-11-11T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45267#M5976</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&gt;I'vwe modified my code to demonstrate my issue more clearly. I have no expectation of summarised values "moving up" to the wrong week, but do expect the rows for a paticular week to start on the same row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As you see in the table below, Tuesdays records always begin on the last record for Monday. &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="4" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;DAY&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Monday&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Tuesday&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;THEATRE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;WEEK&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;SESSION&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;REVENUE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;SESSION&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;REVENUE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;TH7&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION1&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION2&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION7&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION3&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;2000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION4&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;2000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would have expected SESSION3 on Tuesday to the on the same row as SESSION1 on Monday as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="4" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;DAY&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;" width="139"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Monday&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD colspan="2" style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;" width="139"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Tuesday&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;THEATRE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;WEEK&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;SESSION&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;" width="64"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;REVENUE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;" width="75"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;SESSION&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="background-color: #e8e6da; border-width: 1pt; border-color: #4f493b; border-style: solid;"&gt;&amp;nbsp; &lt;P align="center"&gt;&lt;STRONG style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;REVENUE&lt;/STRONG&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;TH7&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION1&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="64"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="75"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION3&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;2000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION2&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="64"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="75"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION4&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;2000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="center"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;SESSION7&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="64"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt;4000&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom" width="75"&gt; &lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: initial; border-color: initial; border-top-width: initial; border-top-color: initial; border-style: none;" valign="bottom"&gt; &lt;P align="right"&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to achieve my desired output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 11:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45267#M5976</guid>
      <dc:creator>johnc_sas</dc:creator>
      <dc:date>2011-11-14T11:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45268#M5977</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; But this is the same issue. In the original example, you had UTILISATION with DISPLAY usage under DAY. Now you have SESSION with DISPLAY usage under DAY. PROC REPORT just doesn't look at the VALUES for SESSION when it's filling the report rows, unless you make SESSION an ORDER or GROUP usage item and you can't have an ORDER or GROUP item under an ACROSS, so you'd have to move SESSION out of the ACROSS scenario. Screenshots attached. #2 output created with program below (uses your revised data) #1 is your original report and #3 shows the collapsing that happens when only WEEK is on the report row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\output\across_ques.html' style=analysis;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=theatre_dim&amp;nbsp; nowd ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '1) original code session "under" day';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column THEATRE&amp;nbsp; WEEK&amp;nbsp;&amp;nbsp; DAY, ( SESSION REVENUE );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define THEATRE / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define WEEK / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define session / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define DAY / ACROSS ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define REVENUE /&amp;nbsp; sum;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=theatre_dim&amp;nbsp; nowd ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '2) session as group and not under across variable';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column THEATRE&amp;nbsp; WEEK&amp;nbsp; session DAY, ( REVENUE&amp;nbsp; );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define THEATRE / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define WEEK / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define session / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define DAY / ACROSS ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define REVENUE /&amp;nbsp; sum;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rbreak after / summarize;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=theatre_dim&amp;nbsp; nowd ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '3) WEEK as group only';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column THEATRE&amp;nbsp; WEEK&amp;nbsp;&amp;nbsp; DAY, ( REVENUE&amp;nbsp; );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define THEATRE / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define WEEK / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define DAY / ACROSS ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define REVENUE /&amp;nbsp; sum;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11382i6E254BF53CB80489/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="show_session.jpg" title="show_session.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11383iF42350B242017D5B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="session_vs_week.jpg" title="session_vs_week.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 16:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45268#M5977</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-11-14T16:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45269#M5978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your report looks so strange.&lt;/P&gt;&lt;P&gt;I think the only way to get this report is to use data step to re-form data structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 03:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45269#M5978</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-11-15T03:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty with proc report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45270#M5979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is a strange layout. &lt;/P&gt;&lt;P&gt;as Ksharp suggests, a better result can be created by re-shaping the data.&lt;/P&gt;&lt;P&gt;It seems equivalent to an M:N merge of a data step&amp;nbsp; where you do not want the sql-type cartesian join, but just what the DATA STEP MERGE delivers. &lt;/P&gt;&lt;P&gt;Here is some tested code and the results I get from PROC PRINT - which I assume can be adapted for PROC REPORT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Difficulty-with-proc-report-output/m-p/45270#M5979</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-11-17T17:50:33Z</dc:date>
    </item>
  </channel>
</rss>

