<?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 Transpose/Proc Tabulate Problems in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594181#M170655</link>
    <description>&lt;P&gt;Yes, that worked also thank you.&lt;/P&gt;&lt;P&gt;What I ended up using was a proc sql where I just summarized the data based on category. It looked like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table FINAL as&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;memberid&lt;/P&gt;&lt;P&gt;, month&lt;/P&gt;&lt;P&gt;, sum(case when category = 'bookds' then paid_amt else 0 end) as Book_total&lt;/P&gt;&lt;P&gt;...etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from previous table&lt;/P&gt;&lt;P&gt;group by memberid, month&lt;/P&gt;&lt;P&gt;order by memberid, month&lt;/P&gt;&lt;P&gt;;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returned the data in a format that I can left join to another table that has memberid and zip code. From there I am going to try to see if there is any correlation between variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the help, I really appreciate it. And if any of you know any good ways to compare multiple variables (zip code) to other dependent variables ( paid amount by category) please let me know I am always interested in learning new things. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 17:34:02 GMT</pubDate>
    <dc:creator>awoods8005</dc:creator>
    <dc:date>2019-10-04T17:34:02Z</dc:date>
    <item>
      <title>Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593921#M170549</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to summarize data that I used a PIVOT function on in SQL Server. The only problem is that my data has two row identifiers (member_id and month) so it is creating problems with the proc transpose.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the following data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;member_id&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;paid_amount&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;category&lt;/P&gt;&lt;P&gt;42&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20.00&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;books&lt;/P&gt;&lt;P&gt;398732&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;782.35&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cds&lt;/P&gt;&lt;P&gt;59669&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nov&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;394.65&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clothes&lt;/P&gt;&lt;P&gt;42&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40.00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;books&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to transpose and look like a summary per member but using the categories as column headers and summing for each category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so it would look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;member_id&amp;nbsp; &amp;nbsp; &amp;nbsp; month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; books&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cds&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clothes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; other&lt;/P&gt;&lt;P&gt;42&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60.00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a way to do this using only proc transpose or using proc transpose combined with another function as well please let me know.&lt;/P&gt;&lt;P&gt;Also if this is unclear in any way let me know and I will try to provide more information.&lt;/P&gt;&lt;P&gt;I appreciate any help I can get, this seems like a very friendly community from what I can tell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 21:05:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593921#M170549</guid>
      <dc:creator>awoods8005</dc:creator>
      <dc:date>2019-10-03T21:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593957#M170574</link>
      <description>&lt;P&gt;you need to use the fancy assignments to sum your data for SQL server using the order by statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 21:53:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593957#M170574</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-10-03T21:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593965#M170578</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I'm not sure you need PROC TRANSPOSE. I think TABULATE can do this for you. You did not post data in a form that can be used, so I made some fake data. TABULATE worked for me as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use_tab.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32953i30337D86EA06AABF/image-size/large?v=v2&amp;amp;px=999" role="button" title="use_tab.png" alt="use_tab.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 22:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/593965#M170578</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-03T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594123#M170629</link>
      <description>&lt;P&gt;Great, thank you so much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, do you have any idea how I can make the output be in a table format so that I can left join it to other tables using proc sql?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594123#M170629</guid>
      <dc:creator>awoods8005</dc:creator>
      <dc:date>2019-10-04T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594127#M170633</link>
      <description>Hi, in that case, I assume you would not want the TOTAL column on the right or the TOTAL row at the bottom. &lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 04 Oct 2019 14:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594127#M170633</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-04T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594132#M170635</link>
      <description>&lt;P&gt;Yes, I will probably take the total columns/rows off somehow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think I would need a proc data command to convert the output to a joinable table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some background: I am hoping to join this table to a table with the members location to see if there is any correlation between their spending and location.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 15:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594132#M170635</guid>
      <dc:creator>awoods8005</dc:creator>
      <dc:date>2019-10-04T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594134#M170636</link>
      <description>&lt;P&gt;I am confused.&amp;nbsp; Your input has two observations for the same persion/month/category.&lt;/P&gt;
&lt;P&gt;Do you need to summarize it first?&amp;nbsp; Is that what the "pivot table" was supposed to do for you?&amp;nbsp; Why not just use PROC SUMMARY?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;
 input member_id month :$3. paid_amount category :$20.;
cards;
42  jan 20.00 books
398732 feb 782.35  cds
59669 nov 394.65  clothes
42 jan 40.00 books
;

proc summary data=have nway ;
 class member_id month category ;
 var paid_amount ;
 output out=step1 sum= ;
run;

proc transpose data=step1 out=want;
  by member_id month;
  id category;
  var paid_amount;
run;

proc print; run;
 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;       member_
Obs       id      month      _NAME_       books    clothes      cds

 1          42     jan     paid_amount      60         .         .
 2       59669     nov     paid_amount       .      394.65       .
 3      398732     feb     paid_amount       .         .      782.35

&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Oct 2019 15:23:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594134#M170636</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-04T15:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594136#M170637</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you only needed a report, then I would recommend TABULATE. If you need a transposed AND summarized table to use in a join, then I would recommend either a DATA step probably with an ARRAY or just use PROC REPORT with the OUT= option, like this (using the same fakedata and the same PROC SORT):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="report_alter_tab.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32974iB2CD1735168E30E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="report_alter_tab.png" alt="report_alter_tab.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then the WORK.SUM_OUT table is the one you use in your merge or join. But I would make sure that your analytic procedure really needs the transposed structure of the data. Many analytic procedures use the data in "long" format, as you show for your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 15:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594136#M170637</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-04T15:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594181#M170655</link>
      <description>&lt;P&gt;Yes, that worked also thank you.&lt;/P&gt;&lt;P&gt;What I ended up using was a proc sql where I just summarized the data based on category. It looked like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table FINAL as&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;memberid&lt;/P&gt;&lt;P&gt;, month&lt;/P&gt;&lt;P&gt;, sum(case when category = 'bookds' then paid_amt else 0 end) as Book_total&lt;/P&gt;&lt;P&gt;...etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from previous table&lt;/P&gt;&lt;P&gt;group by memberid, month&lt;/P&gt;&lt;P&gt;order by memberid, month&lt;/P&gt;&lt;P&gt;;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returned the data in a format that I can left join to another table that has memberid and zip code. From there I am going to try to see if there is any correlation between variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the help, I really appreciate it. And if any of you know any good ways to compare multiple variables (zip code) to other dependent variables ( paid amount by category) please let me know I am always interested in learning new things. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 17:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/594181#M170655</guid>
      <dc:creator>awoods8005</dc:creator>
      <dc:date>2019-10-04T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Transpose/Proc Tabulate Problems</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/626972#M184986</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to do is based on the giving table: t1 (Name(string), Var(string))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Var&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Var1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Var2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Var3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Var1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Var3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Var89&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Var2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;Var70&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In&amp;nbsp; the end I would like to have my table looking as:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Var1&lt;/TD&gt;&lt;TD&gt;Var2&lt;/TD&gt;&lt;TD&gt;Var3&lt;/TD&gt;&lt;TD&gt;Var4&lt;/TD&gt;&lt;TD&gt;….&lt;/TD&gt;&lt;TD&gt;Var70&lt;/TD&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;Var89&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way to do in one step using proc sql?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 19:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Proc-Tabulate-Problems/m-p/626972#M184986</guid>
      <dc:creator>Claudia_SAS</dc:creator>
      <dc:date>2020-02-24T19:12:00Z</dc:date>
    </item>
  </channel>
</rss>

