BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Criptic
Lapis Lazuli | Level 10

Hello,

 

is it possible to have a column that is filled with some values let's say A is filled with 'BMW', 'Audi', etc. and I want to filter sashelp.cars where make in A1:A10 is this possible? And if it is possible how?

 

Kind regards

Criptic

1 ACCEPTED SOLUTION

Accepted Solutions
Criptic
Lapis Lazuli | Level 10

So I pocked around a lot more in the documentation and couldn't find a way to do it. But I stumbledupon the possibility to input data via a StoredProcess from Excel - thanks to this very helpful video: https://video.sas.com/detail/video/3862907101001/use-microsoft-excel-data-as-input-to-a-stored-proce...

 

This solved my problem and I hope it might help somebody with a similar question further down the road.

 

Coding to copy paste:

libname XcelData xml;

data work.input_excel_1;
	set XcelData.&_WebIn_SASName;
run;

View solution in original post

1 REPLY 1
Criptic
Lapis Lazuli | Level 10

So I pocked around a lot more in the documentation and couldn't find a way to do it. But I stumbledupon the possibility to input data via a StoredProcess from Excel - thanks to this very helpful video: https://video.sas.com/detail/video/3862907101001/use-microsoft-excel-data-as-input-to-a-stored-proce...

 

This solved my problem and I hope it might help somebody with a similar question further down the road.

 

Coding to copy paste:

libname XcelData xml;

data work.input_excel_1;
	set XcelData.&_WebIn_SASName;
run;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 1 reply
  • 959 views
  • 0 likes
  • 1 in conversation