You need a different variable nested under across. I'm not sure why you're using ACROSS if all the variables under are NOPRINT. This fixed the context issue.
proc report data=sashelp.cars /*list showall*/;
columns Origin Make Type, (msrp) msrp=msrp0 msrp=msrpq1 msrp=msrpq3 stats;
define Origin /" " group;
define Make /" " group;
define Type / " " across;
define msrp / n noprint; *<===;
define msrp0 / analysis median noprint;
define msrpq1 / analysis q1 noprint;
define msrpq3 / analysis q3 noprint;
define stats / computed;
compute stats / character length=50;
stats = catt(put(msrp0, dollar7.1-l), " (", put(msrpq1, dollar7.1-l), "-", put(msrpq3, dollar7.1-l), ")");
endcomp;
run;
... View more