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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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 save with the early bird rate—just $795!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.