<?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 Keep column name when summarizing in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318391#M21392</link>
    <description>&lt;P&gt;Perhaps this is a minor complaint, but I often find myself changing the names of columns after I set a summary method. &amp;nbsp;Is there a way to prevent the column name from changing from COLUMN_NAME to SUM_of_COLUMN_NAME?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I believe I have thouroughly searched through the setting, I hold on to hope that I have overlooked it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2016 22:00:04 GMT</pubDate>
    <dc:creator>RyanK</dc:creator>
    <dc:date>2016-12-12T22:00:04Z</dc:date>
    <item>
      <title>Keep column name when summarizing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318391#M21392</link>
      <description>&lt;P&gt;Perhaps this is a minor complaint, but I often find myself changing the names of columns after I set a summary method. &amp;nbsp;Is there a way to prevent the column name from changing from COLUMN_NAME to SUM_of_COLUMN_NAME?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I believe I have thouroughly searched through the setting, I hold on to hope that I have overlooked it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 22:00:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318391#M21392</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2016-12-12T22:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Keep column name when summarizing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318393#M21393</link>
      <description>&lt;P&gt;Which Task exactly are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure there's a point and click mechanism, but I know for certain you can override this with code. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll find EG will get you there 90%, the remaining 10% is code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 22:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318393#M21393</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-12T22:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Keep column name when summarizing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318395#M21394</link>
      <description>This is in a simple query builder, but I would happily use another task if it would avoid the issue.  I absolutely can override it with code, but was hoping to avoid that.  In this case, I am aggregating 27 variables and would prefer to not type it out.</description>
      <pubDate>Mon, 12 Dec 2016 22:08:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318395#M21394</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2016-12-12T22:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Keep column name when summarizing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318405#M21395</link>
      <description>&lt;P&gt;Query builder is straight forward, when summarizing you have a field that says Column Name that you can type whatever you want into it, as long as it's a valid name. I don't think there's a default way to specify it to stay the same variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6342iBBF305E0A155BD72/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="delete column name.JPG" title="delete column name.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code override is relatively straightforward, as long as you're only calculating one statistic (ie mean/sum) it automatically saves with the same name. You do have to list the variables but you can use &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0wphcpsfgx6o7n1sjtqzizp1n39.htm" target="_self"&gt;variable shortcuts.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class noprint;
var age weight height;
output out=want mean=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2016 22:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318405#M21395</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-12T22:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Keep column name when summarizing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318505#M21396</link>
      <description>&lt;P&gt;Fantastic, that takes 50 lines of PROC SQL down to 5 lines of PROC MEANS. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was not aware of variable lists, they work perfectly in this scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 10:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Keep-column-name-when-summarizing/m-p/318505#M21396</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2016-12-13T10:10:03Z</dc:date>
    </item>
  </channel>
</rss>

