<?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 Problem with formats in &amp;quot;Import-Wizard&amp;quot; in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-formats-in-quot-Import-Wizard-quot/m-p/7135#M2263</link>
    <description>Hi. There's a little problem i can't resolve. &lt;BR /&gt;
I want import data from an excel-sheet. In one of the columns are both integers and decimals in european notation (like 35.012 or 40.256,35). I can't use a format like eurox12.2 cause i get wrong values for integers (35.012/10² in this example). &lt;BR /&gt;
In a manually written import procedure i can use the eurox. format without a value for w. or d. and it works, but the import-wizard requires values for w. and d. (min. eurox1.0). &lt;BR /&gt;
Is there any way to use eurox. format with import-wizard?</description>
    <pubDate>Tue, 26 Feb 2008 14:22:45 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-02-26T14:22:45Z</dc:date>
    <item>
      <title>Problem with formats in "Import-Wizard"</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-formats-in-quot-Import-Wizard-quot/m-p/7135#M2263</link>
      <description>Hi. There's a little problem i can't resolve. &lt;BR /&gt;
I want import data from an excel-sheet. In one of the columns are both integers and decimals in european notation (like 35.012 or 40.256,35). I can't use a format like eurox12.2 cause i get wrong values for integers (35.012/10² in this example). &lt;BR /&gt;
In a manually written import procedure i can use the eurox. format without a value for w. or d. and it works, but the import-wizard requires values for w. and d. (min. eurox1.0). &lt;BR /&gt;
Is there any way to use eurox. format with import-wizard?</description>
      <pubDate>Tue, 26 Feb 2008 14:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-formats-in-quot-Import-Wizard-quot/m-p/7135#M2263</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-26T14:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with formats in "Import-Wizard"</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-formats-in-quot-Import-Wizard-quot/m-p/7136#M2264</link>
      <description>Greetings!&lt;BR /&gt;
&lt;BR /&gt;
I have attempted to reproduce the problem you describe, but have not experienced the difficulty you seem to have had.&lt;BR /&gt;
&lt;BR /&gt;
Let me start by describing how I created my test data in Excel so as to confirm that I have data similar to yours.&lt;BR /&gt;
&lt;BR /&gt;
Since I am was working in an English version of Excel I first went to &lt;B&gt;Tools&lt;/B&gt; --&amp;gt; &lt;B&gt;Options...&lt;/B&gt; and on the &lt;B&gt;International&lt;/B&gt; tab changed the &lt;B&gt;Decimal separator&lt;/B&gt; character to a comma and the &lt;B&gt;Thousands separator&lt;/B&gt; to a period.&lt;BR /&gt;
&lt;BR /&gt;
Then I created a new worksheet with field headings in cells A1 to C1. These were &lt;B&gt;Integer&lt;/B&gt;, &lt;B&gt;Fixed2&lt;/B&gt; and &lt;B&gt;Fixed4&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
Next in cell A2 I placed the value &lt;B&gt;1&lt;/B&gt; and in cell A3 I placed &lt;B&gt;2.345&lt;/B&gt;. I also formatted these cells as &lt;B&gt;Euro&lt;/B&gt; with 0 decimal places.&lt;BR /&gt;
Cell B2 had the value &lt;B&gt;1,23&lt;/B&gt; and B3 had &lt;B&gt;2.345,67&lt;/B&gt;. I formatted both of these as &lt;B&gt;Euro&lt;/B&gt; with 2 decimal places.&lt;BR /&gt;
Finally, cell C2 had the value &lt;B&gt;1,2345&lt;/B&gt; and C3 had &lt;B&gt;2.345,6789&lt;/B&gt;. The format on these two cells was &lt;B&gt;Euro&lt;/B&gt; with 4 decimal places.&lt;BR /&gt;
&lt;BR /&gt;
I then saved the Excel workbook and started Enterprise Guide 4.1.&lt;BR /&gt;
&lt;BR /&gt;
I created a new Enterprise Guide project and then started the Import Data task by selecting &lt;B&gt;File&lt;/B&gt; --&amp;gt; &lt;B&gt;Import Data...&lt;/B&gt; and in the Open dialog selecting my test Excel workbook and Sheet1$ (I had kept Excel's default name for the worksheet).&lt;BR /&gt;
&lt;BR /&gt;
I didn't change anything on the &lt;B&gt;Region to Import&lt;/B&gt; or &lt;B&gt;Results&lt;/B&gt; panels of the task, but on the &lt;B&gt;Column Options&lt;/B&gt; panel I made these changes:&lt;BR /&gt;
For the field &lt;B&gt;Integer&lt;/B&gt; I changed both the &lt;B&gt;Display format&lt;/B&gt; and &lt;B&gt;Read-in format&lt;/B&gt; to the currency format &lt;B&gt;EURO12.0&lt;/B&gt;.&lt;BR /&gt;
For the field &lt;B&gt;Fixed2&lt;/B&gt; I changed the &lt;B&gt;Display format&lt;/B&gt; to &lt;B&gt;EURO12.2&lt;/B&gt; and the &lt;B&gt;Read-in format&lt;/B&gt; to &lt;B&gt;EURO12.0&lt;/B&gt;.&lt;BR /&gt;
And finally for the field &lt;B&gt;Fixed4&lt;/B&gt; I changed the &lt;B&gt;Display format&lt;/B&gt; to &lt;B&gt;EURO12.4&lt;/B&gt; and the &lt;B&gt;Read-in format&lt;/B&gt; to &lt;B&gt;EURO12.0&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
When I ran the task a data set was created with the values E1 and E2.345 for the field Integer, E1,23 and E2.345,67 for the field Fixed2 and E1,2345 and E2.345,6789 for the field Fixed4.&lt;BR /&gt;
&lt;BR /&gt;
A note about the &lt;B&gt;read-in formats&lt;/B&gt; I specified: By specifying the EURO format with a value of 0 for the decimals (which is the default value anyway) we are telling SAS that we want the number that's read in to be unscaled. If we were to specify a value for the decimals on the informat, then we would be instructing SAS to scale the number read in by the EURO informat by dividing it by 10**d. So a decimal value of 3 would result in the numeric value being divided by 1000. The EURO informat doesn't need to be told how many decimal places there actually are in the incoming value because it knows how to read a European formatted number and can therefore determine the position of the decimal separator for itself.&lt;BR /&gt;
&lt;BR /&gt;
It may well be that I've misunderstood something about the structure of the data in your Excel file, in which case please let me know and I can take another look at the problem.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
David.</description>
      <pubDate>Thu, 13 Mar 2008 13:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-with-formats-in-quot-Import-Wizard-quot/m-p/7136#M2264</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-03-13T13:18:58Z</dc:date>
    </item>
  </channel>
</rss>

