In SAS visual analytics, removing the date column causes the aggregate measures return to missing. Is it possible to avoid this? if yes how?
If your aggregated measures use periodic operators like CumulativePeriod(), the date column that they are based on must be included in your report objects. I don't think there's any workaround to this.
In other words, it is expected for the aggregated measures to return missing when the required dates are not present.
Sam
Thanks for your answer. Is it possible to aggregate the data and put it in a new column in the existing table by using Data Step (in the prepare data)?
Thanks a lot :). Do you have any idea what codes should I use?
should I look at the "group" function?
PROC SUMMARY or PROC SQL using the SUM function with GROUP BY are two common ways to aggregate data.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.