×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to import pivot table report data into PC SAS

How to import pivot table report data into PC SAS

How to import pivot table report data into PC SAS

(OP)
Hi,

I have a pivot table report and the output data for that report in MS excel.
I was wondering if I can import that data into SAS to create a SAS Dataset so that I can change the format of that report.

Thanks,
Blyssz

RE: How to import pivot table report data into PC SAS

Are you trying to import the source data for the pivot table or the pivot table?

You should be able to import the source data with a proc import.

[code]
PROC IMPORT OUT= WORK.yourdata
        DATAFILE= "C:\yourfile.xls"
        DBMS=EXCEL REPLACE;
        SHEET="sheetname$";
        GETNAMES=YES;
        MIXED=NO;
        SCANTEXT=YES;
        USEDATE=YES;
        SCANTIME=YES;
RUN;
[/code/

Not sure about importing the actual pivot table report. However, if you have the raw data in SAS you should be able to recreate the same report in SAS.


 

RE: How to import pivot table report data into PC SAS

(OP)
Thanks dblan for your response.
I am trying to import pivot table data in PC SAS as I do not have access to actual source data for the pivot table report. I need to change format of the report, so want to create SAS dataset from pivot table.

Thanks,
Blyssz

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close