The data is very hard to transpose as the variable times are within the variable names such that "PreResyr1stQ_Housing" and so forth. However, you reminded me that I had a transposed dataset already, thank you! I shall change my processes to keep with the times and stay up to date. I appreciate the suggestion! Is there a preference of SGPLOT or Graphics Template language based on limited SAS knowledge? I am not sure if you simply meant include the input in the data like this. However, my data looks something like this: input STUDYNO:32. PID:BEST. TRICHOT_1YR:BEST12. PostResYr_AlcSpend:DOLLAR14.2 PostResYr_HOUSE:DOLLAR14.2 PostResYr_CONSUME:DOLLAR14.2 PostResYr_DURABLE:DOLLAR14.2 PostResYr_TRANS:DOLLAR14.2 PostResYr_HEALTH:DOLLAR14.2 PostResYr_INSURE:DOLLAR14.2 PostResYr_
LOAN:DOLLAR14.2 PostResYr_TAX:DOLLAR14.2 PostResYr_EDUCA:DOLLAR14.2 PostResYr_GIFT:DOLLAR14.2 PostResYr_ENTER:DOLLAR14.2 PostResYr_RECRE:DOLLAR14.2 PostResYr_FINPLAN:DOLLAR14.2 PostResYr_LEGALA:DOLLAR14.2 PostResYr_INCOMETL:DOLLAR14.2 Quarter:32.;
format PID BEST. TRICHOT_1YR BEST12. PostResYr_AlcSpend DOLLAR14.2 PostResYr_HOUSE DOLLAR14.2 PostResYr_CONSUME DOLLAR14.2 PostResYr_DURABLE DOLLAR14.2 PostResYr_TRANS DOLLAR14.2 PostResYr_HEALTH DOLLAR14.2 PostResYr_INSURE DOLLAR14.2 PostResYr_LOAN DOLLAR
14.2 PostResYr_TAX DOLLAR14.2 PostResYr_EDUCA DOLLAR14.2 PostResYr_GIFT DOLLAR14.2 PostResYr_ENTER DOLLAR14.2 PostResYr_RECRE DOLLAR14.2 PostResYr_FINPLAN DOLLAR14.2 PostResYr_LEGALA DOLLAR14.2 PostResYr_INCOMETL DOLLAR14.2;
label STUDYNO="Sample size: 55,144,41,185,191, Total:616" PID="SUBJID#" TRICHOT_1YR="RA 273, UR 140, RNA 80, Missing 123" PostResYr_AlcSpend="Amount spent on alcohol" PostResYr_HOUSE="Housing Total" PostResYr_CONSUME="Consumable Goods Total" PostResYr_DURA
BLE="Durable Goods Total (missing Study 2)" PostResYr_TRANS="Transportation Total" PostResYr_HEALTH="Health Care Total" PostResYr_INSURE="Insurance Total (missing Study 2)" PostResYr_LOAN="Loan Payments Total" PostResYr_TAX="Taxes Total (missing Study 2)"
PostResYr_EDUCA="Educational Expenses Total (missing Study 2)" PostResYr_GIFT="Gifts or Contributions Total" PostResYr_ENTER="Entertainment Total" PostResYr_RECRE="RECREATION TOTAL" PostResYr_FINPLAN="Financial Planning Total (missing Study 2)" PostResYr_L
EGALA="LEGAL EXPENSES TOTAL" PostResYr_INCOMETL="Income Total";
datalines;
2 486 1 $0.00 $5,119.48 $1,496.92 . $5,838.00 $538.89 . $598.77 . . $15,867.38 $359.26 $0.00 . $0.00 $44,907.68 1
2 486 1 $0.00 $3,839.61 $1,122.69 . $449.08 $1,311.30 . $1,796.31 . . $0.00 $157.18 $0.00 . $0.00 $0.00 2
2 486 1 $0.00 $3,839.61 $1,122.69 . $449.08 $1,240.95 . $1,796.31 . . $0.00 $157.18 $0.00 . $0.00 $0.00 3
2 486 1 $0.00 $2,821.70 $1,496.92 . $2,335.20 $1,029.88 . $0.00 . . $6,012.64 $449.08 $0.00 . $0.00 $0.00 4
2 495 3 $0.00 $7,620.83 $3,892.00 . $224.54 $748.46 . $0.00 . . $0.00 $718.52 $0.00 . $0.00 $23,801.07 1 The goal is to make a pie chart for each year quarter (which is the last column in the data) by each Trichot_1yr (1-3). The pie "slices" would be each of the 14 different variable columns. Simplified my data looks like this: ID Quarter Trichot_1yr Housing Transportation Insurance
1 1 1 1000 2000 500
1 2 1 900 100 6000
1 3 1
1 4 1
2 1 3
2 2 3 I want each of the variables (ie "housing", "transportation", etc) to be the slices of the pie. With 3 different pies for each trichot (1, 2, and 3) for quarter 1. Then I would repeat for each quarter. I am not sure how to accomplish this as it has so many levels. I can definitely respond for clarity, and thank you for your response!
... View more