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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.