<?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: Need help with Proc Transpose in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330428#M74124</link>
    <description>&lt;P&gt;Thanks a ton, Your solution worked perfectly but i tweaked a bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had mixed variable names and &lt;STRONG&gt;var:&lt;/STRONG&gt; only targeted the specific ones.. i removed this line and dropped the id from the dataset to give out the desired results..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2017 09:42:19 GMT</pubDate>
    <dc:creator>Phoenix232</dc:creator>
    <dc:date>2017-02-07T09:42:19Z</dc:date>
    <item>
      <title>Need help with Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330417#M74118</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a large dataset out of which i need to summarize and present a few numbers from it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current dataset looks something like below :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Var1 &amp;nbsp; &amp;nbsp;Var2 &amp;nbsp; Var3 &amp;nbsp; &amp;nbsp;Var4 &amp;nbsp; &amp;nbsp;Var5 &amp;nbsp; &amp;nbsp;Var6 &amp;nbsp; &amp;nbsp;Var7&amp;nbsp;&lt;/P&gt;&lt;P&gt;num1 &amp;nbsp;num2 &amp;nbsp;num3 &amp;nbsp;num4 &amp;nbsp;num5 &amp;nbsp;num6 &amp;nbsp;num7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is nothing i could think of which would make the above dataset look like :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;heading &amp;nbsp; heading&lt;/P&gt;&lt;P&gt;Var1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num1&lt;/P&gt;&lt;P&gt;var2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num2&lt;/P&gt;&lt;P&gt;Var3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num3&lt;/P&gt;&lt;P&gt;........... and so on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330417#M74118</guid>
      <dc:creator>Phoenix232</dc:creator>
      <dc:date>2017-02-07T09:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330419#M74120</link>
      <description>&lt;P&gt;If you post test data in the form of a datastep you are more likely to get working code. &amp;nbsp;Something like:&lt;/P&gt;
&lt;PRE&gt;data have;
  set have;
  id=_n_;
run;

proc transpose data=have out=want;
  by id;
  var var:;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330419#M74120</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-07T09:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330424#M74122</link>
      <description>&lt;P&gt;What does Var: means ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry, been programming after ages that i have forgotten even basic things.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330424#M74122</guid>
      <dc:creator>Phoenix232</dc:creator>
      <dc:date>2017-02-07T09:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330426#M74123</link>
      <description>&lt;P&gt;Its a shorthand method of stating any variable with teh prefix given, so if I said:&lt;/P&gt;
&lt;P&gt;abcd:&lt;/P&gt;
&lt;P&gt;This would include any variable name with abcd as first four characters e.g. abcd1234, abcde, but not efg_abcd.&lt;/P&gt;
&lt;P&gt;You could also use -- to specify a range (per sort order) of variable names and such like.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0wphcpsfgx6o7n1sjtqzizp1n39.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0wphcpsfgx6o7n1sjtqzizp1n39.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330426#M74123</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-07T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Proc Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330428#M74124</link>
      <description>&lt;P&gt;Thanks a ton, Your solution worked perfectly but i tweaked a bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had mixed variable names and &lt;STRONG&gt;var:&lt;/STRONG&gt; only targeted the specific ones.. i removed this line and dropped the id from the dataset to give out the desired results..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-Proc-Transpose/m-p/330428#M74124</guid>
      <dc:creator>Phoenix232</dc:creator>
      <dc:date>2017-02-07T09:42:19Z</dc:date>
    </item>
  </channel>
</rss>

