Thanks. Can't get that to work, it gives an error message, maybe because I'm using this for a PDF output and that article is for an Excel worksheet? I just created the style using this code from the article: ------------------ code from the suggested article to create a rotated text style ----------------------- proc template; define style styles.mystyle; parent=styles.default; style vertical_header from header / tagattr = 'rotate:90' ; end; run; ------------------ end of code from the suggested article to create a rotated text style ----------------------- Then I inserted that style where I want it, in the values for the cohort column. Gives an error. Not clear that proc tabulate will allow me to use styles that I create, or did I skip a step?? ------------------------ my proc tabulate code to print a pdf file -------------------------------- proc tabulate data =&input f=4.0 S=[just=c cellwidth=70]; var Col1; class cohort criterion instrument /ORDER=DATA ; class _name_ ; classlev cohort /style=[vertical_header]; table cohort*instrument*criterion all={label='Total' s=[just=R background=lightblue]}*{s=[just=C background=lightblue]} ,(_name_='Level' ALL)*Col1=" "*(sum="N"*(f=cnum.) ROWPCTSUM="%"*f=mypct. ) /box=_PAGE_; BY instrument NOTSORTED; run;
... View more