I'm user of SAS VA 7.3 , I need help to create a cumulative chart for making a collected amount of current sales in comparison to last months in days of month. I have searched a solution at this forum but I can not create a day of month of transaction date. I use a calculated item and choose day of month function but when I drag and drop transaction date field. It failed and notified date time type is not allowed for 'day of month' function although I have modified the field to Date type in SAS field format card or even change it in SQL syntax. It is still unable to get day of month from that field 😞 (
If your data is Date + Time, you can get the date portion using DATEPART(yourvariable) and from there you should be able to get the day of the month.
Let us know the results.
Our biggest data and AI event of the year.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.