<?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: Graphing imported Excel data in SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/532051#M5969</link>
    <description>&lt;P&gt;Before attempting to graph make sure that the as generated by the Import step matches your expectations. Proc Import uses a few rows of the data to guess what variable types and lengths the values will be. Because of the unstructured nature of spreadsheet files where a single column of data can have character values, numeric values and dates you may expect one form of data but not get it. Verify that the values you need to be numeric for your process are, that dates or times are SAS values with formats such as Date9,r mmddyy or time and simple $ (character) of best (numeric) as they will not behave as dates when needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 15:48:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-02-01T15:48:18Z</dc:date>
    <item>
      <title>Graphing imported Excel data in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/531871#M5933</link>
      <description>&lt;P&gt;I imported an Excel file into my SAS program, but now I am having problems trying to graph the data. This is the code I have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Generated Code (IMPORT) */&lt;BR /&gt;/* Source File: EG01-46IQ.xls */&lt;BR /&gt;/* Source Path: /folders/myfolders */&lt;BR /&gt;/* Code generated on: 1/31/19, 9:08 PM */&lt;/P&gt;&lt;P&gt;%web_drop_table(WORK.IMPORT);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FILENAME REFFILE '/folders/myfolders/EG01-46IQ.xls';&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=XLS&lt;BR /&gt;OUT=WORK.IMPORT;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC CONTENTS DATA=WORK.IMPORT; RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%web_open_table(WORK.IMPORT);&lt;/P&gt;&lt;P&gt;data WORK.INPUT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is an Excel file of one column of numerical data. I do not know if I am supposed to use the datalines command or how to tell SAS what to do with the imported data. Any advice is much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 03:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/531871#M5933</guid>
      <dc:creator>Fara_I</dc:creator>
      <dc:date>2019-02-01T03:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing imported Excel data in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/531913#M5946</link>
      <description>&lt;P&gt;That code you post (and please avoid coding all in upper case!!) simply imports a spreadsheet into a dataset - a dataset is SAS storage for data.&amp;nbsp; The contents just prints metadata about the data.&amp;nbsp; To do a graph you then need to submit further code for how to and what to produce.&amp;nbsp; If you do not know anything about SAS, then its a good idea to go through the SAS videos:&lt;BR /&gt;&lt;A href="https://video.sas.com/category/videos/how-to-tutorials" target="_blank"&gt;https://video.sas.com/category/videos/how-to-tutorials&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To learn how to use the software, in that you will see how you can manipulate and process data, and produce a variety of outputs.&lt;/P&gt;
&lt;P&gt;When you are sufficiently clear on using SAS, then look at this blog, in which you will find code examples of most types of graphs:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 08:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/531913#M5946</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-01T08:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing imported Excel data in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/532051#M5969</link>
      <description>&lt;P&gt;Before attempting to graph make sure that the as generated by the Import step matches your expectations. Proc Import uses a few rows of the data to guess what variable types and lengths the values will be. Because of the unstructured nature of spreadsheet files where a single column of data can have character values, numeric values and dates you may expect one form of data but not get it. Verify that the values you need to be numeric for your process are, that dates or times are SAS values with formats such as Date9,r mmddyy or time and simple $ (character) of best (numeric) as they will not behave as dates when needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 15:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Graphing-imported-Excel-data-in-SAS/m-p/532051#M5969</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-01T15:48:18Z</dc:date>
    </item>
  </channel>
</rss>

