BookmarkSubscribeRSS Feed
PaulEveleigh
Calcite | Level 5

Hi there,

I am brand new to SAS VA so apologies if my question is overly simple.

I am trying to produce a graph that shows cumulative sales during a month (by day) compared to the same month last year. (As per image below).

I can't seem to work out how to do this - would appreciate some assistance.

Kind Regards

Paul

Cumulative Sales.bmp

1 REPLY 1
Sam_SAS
SAS Employee

Hi Paul,

The CumulativePeriod operator in an aggregated measure is what you would use to perform this type of task.

https://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#n1lxnqfip132can1hdzu...

Unfortunately, you cannot display cumulative values by day for a year other than the current year.

You can compare cumulative values by month (or by quarter) to the previous year (or quarter).

You can display cumulative values by day for the current year, month, quarter.

It is conceivable there's some workaround I'm not aware of.

Thanks,

Sam

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1206 views
  • 0 likes
  • 2 in conversation