<?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: Import the amount with % in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810587#M319646</link>
    <description>&lt;P&gt;Are you allowed to edit the Excel file?&lt;/P&gt;
&lt;P&gt;If so, try creating an extra column, and add any "explanatory text" (such as "avec un mini de 50...") to that extra column. Once the numeric data column has only numeric data in it, it should be much easier for SAS to import.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 11:36:13 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2022-04-29T11:36:13Z</dc:date>
    <item>
      <title>Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810557#M319630</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my xlsx file I have this kind of data :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1651221215927.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70976iE95CBB17475D8123/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1651221215927.png" alt="SASdevAnneMarie_0-1651221215927.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I do the proc import, I have this result :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_1-1651221259664.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70977iF77BC861F5439264/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_1-1651221259664.png" alt="SASdevAnneMarie_1-1651221259664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you know please, how to import the xlsx file in correcte way please to have the correct appearance of amount with % ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 08:37:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810557#M319630</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-29T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810560#M319632</link>
      <description>&lt;P&gt;The text in the first row forces the variable to be character, and the numbers are taken as raw values; since you also seem to have a numeric precision artifact in Excel, you get the funny representation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best remedy for such mixed data: save the file as csv, and read it with a data step where you can deal with "special" values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would you expect to get from the first row?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:03:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810560#M319632</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-29T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810563#M319634</link>
      <description>Thank you, Kurt.&lt;BR /&gt;I would like to have the same values as in my file in the data sas.</description>
      <pubDate>Fri, 29 Apr 2022 09:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810563#M319634</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-29T09:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810570#M319638</link>
      <description>&lt;P&gt;Save from Excel as csv, inspect the file with a text editor, and read it with a data step.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 10:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810570#M319638</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-29T10:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810587#M319646</link>
      <description>&lt;P&gt;Are you allowed to edit the Excel file?&lt;/P&gt;
&lt;P&gt;If so, try creating an extra column, and add any "explanatory text" (such as "avec un mini de 50...") to that extra column. Once the numeric data column has only numeric data in it, it should be much easier for SAS to import.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 11:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810587#M319646</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-04-29T11:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Import the amount with %</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810700#M319712</link>
      <description>Thank you, Kurt !</description>
      <pubDate>Fri, 29 Apr 2022 17:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-the-amount-with/m-p/810700#M319712</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-29T17:13:16Z</dc:date>
    </item>
  </channel>
</rss>

