Try running a Proc freq on the timeid variable to see how the underlying data is . You may have to change the value in the where clause based on the format of the timeid (2018-04-00 may be ).
@Sultana wrote where a.timeid='20180400' and
that is not a valid date
Cannot see the image, please try again. It would be more helpful if you could share the log as well.
[image: image.png]
If your query didn't get any result than there might not be any records in the table with that particular value(a.timeid='20180400')
Make sure that the tables have the values exactly how your giving them.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: