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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.