I think that the issue is using the combination of BY and ID variables. This has always been a special case for PROC PRINT. Doing that will defeat the SUMLABEL option.
... View more
You can do that..but if you do SAS won't be able to pass the query to Oracle for execution. SAS would then pull all of the necessary information down locally to decide if a row met the datepart criteria.
... View more