BookmarkSubscribeRSS Feed
DanhNguyen
Calcite | Level 5

Hi all,

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 😞

Please help !

 

 

https://communities.sas.com/t5/SAS-Visual-Analytics/cumulative-Chart-in-SAS-VA/td-p/271616

1 REPLY 1
Pmyosh
Obsidian | Level 7

Hi,

 

Can you please display here your sample data?

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.

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 lock in 2025 pricing—just $495!

Register now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 721 views
  • 0 likes
  • 2 in conversation