<?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 proc sql Percentage -**resolved** in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-Percentage-resolved/m-p/73141#M21221</link>
    <description>Cannot find a delete post feature.  so please ignore as problem has been resolved!!&lt;BR /&gt;
&lt;BR /&gt;
I am creating a percentage via sql.  I am transferring it to Excel through a DDE Link. I have successfully done this for a few tables.  the problem is for 1 table I keep getting trailing "--" or " ." in the entries.  I cannot determine why!!&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
create table table4 as&lt;BR /&gt;
  	select *, &lt;BR /&gt;
   			(N_tot / sum(N_tot) * 100) as N_tot_Pct &lt;BR /&gt;
 	from table4a where circdist ne 0;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
numbers in sas are outtputted as &lt;BR /&gt;
&lt;BR /&gt;
0.6 . &lt;BR /&gt;
0.3 . &lt;BR /&gt;
1.5 . &lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
0.6 -- &lt;BR /&gt;
0.3 --  &lt;BR /&gt;
1.5 --   &lt;BR /&gt;
&lt;BR /&gt;
I removed any formatting options from both the sas data set and excel set to ensure that this was not the issue

Message was edited by: Hart</description>
    <pubDate>Fri, 02 Apr 2010 13:16:54 GMT</pubDate>
    <dc:creator>Hart</dc:creator>
    <dc:date>2010-04-02T13:16:54Z</dc:date>
    <item>
      <title>proc sql Percentage -**resolved**</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-Percentage-resolved/m-p/73141#M21221</link>
      <description>Cannot find a delete post feature.  so please ignore as problem has been resolved!!&lt;BR /&gt;
&lt;BR /&gt;
I am creating a percentage via sql.  I am transferring it to Excel through a DDE Link. I have successfully done this for a few tables.  the problem is for 1 table I keep getting trailing "--" or " ." in the entries.  I cannot determine why!!&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
create table table4 as&lt;BR /&gt;
  	select *, &lt;BR /&gt;
   			(N_tot / sum(N_tot) * 100) as N_tot_Pct &lt;BR /&gt;
 	from table4a where circdist ne 0;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
numbers in sas are outtputted as &lt;BR /&gt;
&lt;BR /&gt;
0.6 . &lt;BR /&gt;
0.3 . &lt;BR /&gt;
1.5 . &lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
0.6 -- &lt;BR /&gt;
0.3 --  &lt;BR /&gt;
1.5 --   &lt;BR /&gt;
&lt;BR /&gt;
I removed any formatting options from both the sas data set and excel set to ensure that this was not the issue

Message was edited by: Hart</description>
      <pubDate>Fri, 02 Apr 2010 13:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-Percentage-resolved/m-p/73141#M21221</guid>
      <dc:creator>Hart</dc:creator>
      <dc:date>2010-04-02T13:16:54Z</dc:date>
    </item>
  </channel>
</rss>

