<?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: How to fo the same effect using add a new computed column? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361895#M23782</link>
    <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Post test data in the form of a datastep!!&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the guidance found when entering a new post. &amp;nbsp;Show your test data clearly as as datastep - attachments are not recommended as they are a security risk. &amp;nbsp;Then present your logic between the two. &amp;nbsp;From the given output it looks like you want a proc report output for this not a dataset, so you can use across variables in the proc report:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2008/265-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/265-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although as you have not followed the guidance I am just guessing here.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2017 08:06:43 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-05-26T08:06:43Z</dc:date>
    <item>
      <title>How to create a new column?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361877#M23779</link>
      <description>&lt;P&gt;I want to create a nwe column following the rules.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Under the same COUN, VILL and HOUSE, if the age in the P1_5 is the smallest and in P1_4 is male, we set 1.&lt;/LI&gt;&lt;LI&gt;Under the same COUN, VILL and HOUSE, if the age in the P1_5 is the smallest and in P1_4 is female, we set 0.&lt;/LI&gt;&lt;LI&gt;Under the same COUN, VILL and HOUSE, if the age in the P1_5 is the smallest and in P1_4 are twins (both male and female) , we set 3.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;How to get the result by using Add A New Computed Column?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 06:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361877#M23779</guid>
      <dc:creator>karen8169</dc:creator>
      <dc:date>2017-05-26T06:41:23Z</dc:date>
    </item>
    <item>
      <title>How to fo the same effect using add a new computed column?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361872#M23781</link>
      <description>&lt;P&gt;I want to create a new cloumn to do the same effect. Under the same COUN, VILL and HOUS, I can calculate the mount of male and female in P1_4 using Add A New Computed column.&amp;nbsp; The picture I attached is made by summary tables (that's the effect I want.) &lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9077iC997FF603EC8DA11/image-size/original?v=1.0&amp;amp;px=-1" alt="5.PNG" title="5.PNG" border="0" /&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 06:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361872#M23781</guid>
      <dc:creator>karen8169</dc:creator>
      <dc:date>2017-05-26T06:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to fo the same effect using add a new computed column?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361895#M23782</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Post test data in the form of a datastep!!&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the guidance found when entering a new post. &amp;nbsp;Show your test data clearly as as datastep - attachments are not recommended as they are a security risk. &amp;nbsp;Then present your logic between the two. &amp;nbsp;From the given output it looks like you want a proc report output for this not a dataset, so you can use across variables in the proc report:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2008/265-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/265-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although as you have not followed the guidance I am just guessing here.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 08:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-a-new-column/m-p/361895#M23782</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-26T08:06:43Z</dc:date>
    </item>
  </channel>
</rss>

