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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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