<?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: Matrix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281253#M269828</link>
    <description>&lt;P&gt;That sounds like a transpose. Look into proc transpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I generally don't download XLSX files so if you can't post sample data, someone else will help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still would recommend putting the expected output from your sample file, rather than having people guess at what you want.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 20:02:53 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-06-29T20:02:53Z</dc:date>
    <item>
      <title>Matrix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281224#M269825</link>
      <description>&lt;P&gt;I have the data in format below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id&amp;nbsp; group Sales Country1 Country2......&amp;nbsp; Region1 Region2.......&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&amp;nbsp;&amp;nbsp; USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Canada&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; East&amp;nbsp;&amp;nbsp;&amp;nbsp; South&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;&amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp; USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;West&amp;nbsp;&amp;nbsp;&amp;nbsp; North&lt;/P&gt;
&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400 ............&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to equally distribute Sales based on the number of Country&amp;nbsp;as well do the same for&amp;nbsp;Regions; and then create a matrix&amp;nbsp;on the&amp;nbsp;sum of Sales with Country on the Row and Regions on the Columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281224#M269825</guid>
      <dc:creator>Neil_C</dc:creator>
      <dc:date>2016-06-29T19:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281234#M269826</link>
      <description>&lt;P&gt;Ok. Please produce some sample data and expected output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You say matrix of data, are you planning to be using SAS IML, which is more matrix/array/R like R, or Base SAS programming.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281234#M269826</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-29T19:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281252#M269827</link>
      <description>&lt;P&gt;Please see the datafile attached.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;have the datafile on SAS. What I am trying to do is&amp;nbsp;to create a crosstab where Sum of Sales would be shown with Country in row and 4 Regions in columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281252#M269827</guid>
      <dc:creator>Neil_C</dc:creator>
      <dc:date>2016-06-29T19:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281253#M269828</link>
      <description>&lt;P&gt;That sounds like a transpose. Look into proc transpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I generally don't download XLSX files so if you can't post sample data, someone else will help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still would recommend putting the expected output from your sample file, rather than having people guess at what you want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 20:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matrix/m-p/281253#M269828</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-29T20:02:53Z</dc:date>
    </item>
  </channel>
</rss>

