BookmarkSubscribeRSS Feed
Aiman
Fluorite | Level 6

Hi I'm trying to import csv file from my local computer to model studio and create a forecasting project, but unfortunately an error message occur stated that my data specification could not be created: The input data has no valid candidates for the time variable. Specify a table with a column that has a valid date format. Kindly assist me on how to solve the issues. Im sure that my csv file got the date column but somehow it was not recognized by SAS. Below is the picture of my dataset and error message.

 

error messageerror messagedataset from my csvdataset from my csv

3 REPLIES 3
Jagadishkatam
Amethyst | Level 16
Could you please share the code you tried
Thanks,
Jag
Aiman
Fluorite | Level 6
Hi Jag, Do I need to write code for it? I just imported the data from data management tab, and then went to import tab, I found out once I imported the my csv file from my local computer, SAS recognized my date column as varcar not as a date. Sorry if im sound like a total beginner for you, actually im just starting to learn SAS.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1363 views
  • 0 likes
  • 3 in conversation