<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc Report-Merging cells in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482371#M124922</link>
    <description>&lt;P&gt;So, you don't get the expected output. But what exactly did you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the documentation of HEADSKIP:&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-restriction"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;This option affects only the LISTING output. It has no affect on other ODS output.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Mon, 30 Jul 2018 06:03:29 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2018-07-30T06:03:29Z</dc:date>
    <item>
      <title>Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482370#M124921</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I want to use proc report to display data.(No need to calculate because input data is ready to display).&lt;/P&gt;&lt;P&gt;I use proc report in order to merge data that repeat in columns:score &amp;nbsp;Model .(&lt;EM&gt;Merging&lt;/EM&gt;&lt;SPAN&gt; cells)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For this task I use 'group' in define statement.&lt;/P&gt;&lt;P&gt;I see that it is not working well because only in 'score' column it is working &amp;nbsp;but in 'Model' column it is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data tbl;
input Score  Model $ Customers Obligation;
cards;
0	A	5269	700
0	B	563	    2000
2	A	22712	7000
3	A	21412	4000
4	A	16766	3000
5	A	5634	1500
6	A	3169	800
7	A	2964	900
8	A	3033	800
9	A	1026	200
10	A	635	    150
11	A	4522	650
11	B	3	    20
12	A	11198	4000
12	B	53	    30
;
Run;

proc report data=tbl nowd headskip ; 
column Score Model Customers Obligation  ;
define Score / group ;   
define Model / group ;   
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Jul 2018 05:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482370#M124921</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-07-30T05:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482371#M124922</link>
      <description>&lt;P&gt;So, you don't get the expected output. But what exactly did you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the documentation of HEADSKIP:&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-restriction"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;This option affects only the LISTING output. It has no affect on other ODS output.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 30 Jul 2018 06:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482371#M124922</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-07-30T06:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482372#M124923</link>
      <description>&lt;P&gt;Thanks for you reply.&lt;/P&gt;&lt;P&gt;I expect that in column "Model" &amp;nbsp;cells with same value (for example value "A") will be merges into one cell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 06:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482372#M124923</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-07-30T06:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482374#M124925</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for you reply.&lt;/P&gt;
&lt;P&gt;I expect that in column "Model" &amp;nbsp;cells with same value (for example value "A") will be merges into one cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This won't happen because the values of "Score" change - i know no way to persuade ods to merge the cells, would be useful.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 06:37:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482374#M124925</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-07-30T06:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482397#M124944</link>
      <description>&lt;P&gt;So there is not way to do it??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 09:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482397#M124944</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-07-30T09:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report-Merging cells</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482484#M124982</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;So there is not way to do it??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can you provide what you would expect the output too look like with "merged cells" when there are no duplicates for the combination of score and model?&lt;/P&gt;
&lt;P&gt;Perhaps you do not what score in that role. But Proc Report (or tabulate for that matter) aren't likely to have anything to "merge" when the combinations of values to "merge" do not have any duplicates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Merging-cells/m-p/482484#M124982</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-07-30T14:39:02Z</dc:date>
    </item>
  </channel>
</rss>

