BookmarkSubscribeRSS Feed
JPinkman
Calcite | Level 5

Hi all,

Been experimenting with this function a bit on a data set, containinig several rules per date. There's 12 dates per year, one for each month. In the report these lines are aggregated automatically . Somehow the ytd function works as expected for only the first to months of each year. 

Does anybody have an idea why this is happening?

Thanks

yeartodate.png

2 REPLIES 2
WouterHordijk
Fluorite | Level 6

There is a parameter in the Year to Date aggregation that is set to "_ToToday_" by default. As a result, the Year to Date function only computes the cumulative sum up until February 19th (today's date) for each year. Edit the aggregated measure and set this parameter to "_Full_" if you wish the Year to Date function to compute the cumulative sum throughout the entire year.

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