Hi Anca, Thank you !!! I Tried PCTN but i used wrong variable , i am applying on grp!!!! . Now i got what i want. Is the same table can we generate using proc report. because i need to add another variable like sec(afafa,dsfsa ‚fdafa) , that varible name is mflag(Yes,NO). i am unable to do it in one table by using proc tabluate, my final o/p with new added variable is shown like this section mflag grp flg afafa dsfsa fdafa Yes No n % n % n % n % n % 1 No XX XX XX XX XX XX XX XX XX XX Yes XX XX XX XX XX XX XX XX XX XX I below is the code i am using but it throws a error in log: proc tabulate data=subgrps; class grp flg sec mflag; table grp *flg ,sec=’Section’ * (n='n' * f=10. PCTN<FLG>='%' * f=7.2 ), mflag=’Mflag’ * (n='n' * f=10. PCTN<FLG>='%' * f=7.2 )/ misstext='0' rts=40; run; Thanks Sam
... View more