Proc transpose worked with one problem. The first occurrence of 7Q3 is zero which is causing this quarter to be missing from every MOB(month on book) group. For example, I would expect to see 17Q3 in transposed results and it is missing for MOB. 17Q3 value is zero for MOB=1 but >0 for MOB=2 in original table. I think this may be why _7Q3_n=_7Q3*1; appeared in original code. What is best fix to include 17Q3 for all MOB? MOB qtr COL 1 17Q2 1 17Q1 1 16Q4 1 16Q3 1 16Q2 1 16Q1 1 15Q4 1 15Q3 2 17Q2 2 17Q1 2 16Q4 2 16Q3 2 16Q2 2 16Q1 2 15Q4 2 15Q3
... View more