<?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 Transpose in DI in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66489#M6677</link>
    <description>I'm attempting to recreate a query in DI that I'm currently running in EG.&lt;BR /&gt;
&lt;BR /&gt;
However I'm hitting a brick wall when I try and transpose my data.  Simple in EG, seems impossible in DI.&lt;BR /&gt;
&lt;BR /&gt;
Its a small table&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division(Char),Week_Commencing(Char),Ave_Work_Lost(Numeric)&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division and Week_Commencing, with the values never changing and from EG the output looks as follows.&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division	WC_4	WC_3	WC_2	WC_1&lt;BR /&gt;
Division1		x	x	x	x&lt;BR /&gt;
Division2		x	x	x	x&lt;BR /&gt;
Division3		x	x	x	x&lt;BR /&gt;
Division4		x	x	x	x&lt;BR /&gt;
&lt;BR /&gt;
where x donates the value that was stored in Ave_Work_Lost.&lt;BR /&gt;
&lt;BR /&gt;
In EG ive set Transpose Var: Ave_Work_lost&lt;BR /&gt;
                   Copy variables: blank&lt;BR /&gt;
                   New Column names: Week_Commencing&lt;BR /&gt;
                   Group analysis by: Staff_Division.&lt;BR /&gt;
                   New Column labels: blank.&lt;BR /&gt;
&lt;BR /&gt;
I've found the same options within DI, however even with a few hours trial and error trying various different combinations of the above and a few more reading guides I'm no closer to achiving what I need.</description>
    <pubDate>Mon, 23 Aug 2010 14:47:16 GMT</pubDate>
    <dc:creator>VOSA_Andy</dc:creator>
    <dc:date>2010-08-23T14:47:16Z</dc:date>
    <item>
      <title>Transpose in DI</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66489#M6677</link>
      <description>I'm attempting to recreate a query in DI that I'm currently running in EG.&lt;BR /&gt;
&lt;BR /&gt;
However I'm hitting a brick wall when I try and transpose my data.  Simple in EG, seems impossible in DI.&lt;BR /&gt;
&lt;BR /&gt;
Its a small table&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division(Char),Week_Commencing(Char),Ave_Work_Lost(Numeric)&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division and Week_Commencing, with the values never changing and from EG the output looks as follows.&lt;BR /&gt;
&lt;BR /&gt;
Staff_Division	WC_4	WC_3	WC_2	WC_1&lt;BR /&gt;
Division1		x	x	x	x&lt;BR /&gt;
Division2		x	x	x	x&lt;BR /&gt;
Division3		x	x	x	x&lt;BR /&gt;
Division4		x	x	x	x&lt;BR /&gt;
&lt;BR /&gt;
where x donates the value that was stored in Ave_Work_Lost.&lt;BR /&gt;
&lt;BR /&gt;
In EG ive set Transpose Var: Ave_Work_lost&lt;BR /&gt;
                   Copy variables: blank&lt;BR /&gt;
                   New Column names: Week_Commencing&lt;BR /&gt;
                   Group analysis by: Staff_Division.&lt;BR /&gt;
                   New Column labels: blank.&lt;BR /&gt;
&lt;BR /&gt;
I've found the same options within DI, however even with a few hours trial and error trying various different combinations of the above and a few more reading guides I'm no closer to achiving what I need.</description>
      <pubDate>Mon, 23 Aug 2010 14:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66489#M6677</guid>
      <dc:creator>VOSA_Andy</dc:creator>
      <dc:date>2010-08-23T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose in DI</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66490#M6678</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
This might come too late for you but I couldn't resist trying.&lt;BR /&gt;
&lt;BR /&gt;
It was actually quite a simple task in DIS 4.2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In the Transpose transformation I've done the following:&lt;BR /&gt;
&lt;BR /&gt;
Transpose Properties/Options/Assign Columns&lt;BR /&gt;
Var: Ave_Work_Lost&lt;BR /&gt;
ID : Week_Commencing&lt;BR /&gt;
By : Staff_Division&lt;BR /&gt;
&lt;BR /&gt;
Transpose Properties/Options/Other options&lt;BR /&gt;
Specify PROC TRANSPOSE options: prefix=WC_&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Mon, 06 Sep 2010 03:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66490#M6678</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-09-06T03:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose in DI</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66491#M6679</link>
      <description>Hey Patrick,&lt;BR /&gt;
&lt;BR /&gt;
What do you do in the Mappings tab?&lt;BR /&gt;
&lt;BR /&gt;
Many thanks..</description>
      <pubDate>Thu, 17 Mar 2011 14:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Transpose-in-DI/m-p/66491#M6679</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-17T14:37:03Z</dc:date>
    </item>
  </channel>
</rss>

