<?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: making a table out of 4 variables together. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587696#M167872</link>
    <description>PROC TABULATE. &lt;BR /&gt;&lt;BR /&gt;FYI - you're less likely to get code solutions that actually work if you post data as pictures because it means typing out your data. Posting your data as text is preferable for everyone. And it's faster.</description>
    <pubDate>Tue, 10 Sep 2019 22:34:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-09-10T22:34:08Z</dc:date>
    <item>
      <title>making a table out of 4 variables together.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587669#M167863</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solveplease.PNG" style="width: 343px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32364i9E362B850D8C0D12/image-size/large?v=v2&amp;amp;px=999" role="button" title="solveplease.PNG" alt="solveplease.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="answerthis.PNG" style="width: 507px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32363iBDA2147624165A04/image-size/large?v=v2&amp;amp;px=999" role="button" title="answerthis.PNG" alt="answerthis.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am looking to transform this table type into the second one type.. (this is just to visualize, so i havent written all the age groups in the second table type)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 20:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587669#M167863</guid>
      <dc:creator>harsh0404</dc:creator>
      <dc:date>2019-09-10T20:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: making a table out of 4 variables together.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587680#M167868</link>
      <description>&lt;P&gt;please try transpose&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=have;
by decile age_group;
run;

proc transpose data=have out=want;
by decile ;
id age_group;
var rev1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2019 21:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587680#M167868</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-10T21:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: making a table out of 4 variables together.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587691#M167870</link>
      <description>&lt;P&gt;Do you need a dataset used by other bits of a program, which has some technical issues with your variable names, or a report that people read?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One report might look like:&lt;/P&gt;
&lt;PRE&gt;proc report data=have;
   columns decile agegroup,(rev1 rev2);
   define decile /group;
   define agegroup/across;
run;&lt;/PRE&gt;
&lt;P&gt;I won't say it is impossible to put the rev1 and rev2 at the bottom but that would generally be a poor idea in something that has a lot of rows&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 22:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587691#M167870</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-10T22:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: making a table out of 4 variables together.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587696#M167872</link>
      <description>PROC TABULATE. &lt;BR /&gt;&lt;BR /&gt;FYI - you're less likely to get code solutions that actually work if you post data as pictures because it means typing out your data. Posting your data as text is preferable for everyone. And it's faster.</description>
      <pubDate>Tue, 10 Sep 2019 22:34:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/making-a-table-out-of-4-variables-together/m-p/587696#M167872</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-10T22:34:08Z</dc:date>
    </item>
  </channel>
</rss>

