I am current using SAS 9.4. I am trying to an insert arrow images in Proc Report but the compute statement is not working I am getting CHANGE_IN_PCT is uninitialized in the Log and if statement is not working, here CHANGE_IN_PCT is a numeric data type variable. Please check the below code: PROC REPORT DATA=test NOWD; COLUMNS TYPE PREVIOUS_YEAR_PCT CURRENT_YEAR_PCT CHANGE_IN_PCT ; DEFINE TYPE / "Type"; DEFINE PREVIOUS_YEAR_PCT / "Avg Previous Year %"; DEFINE CURRENT_YEAR_PCT / "Avg Current Year %"; DEFINE CHANGE_IN_PCT / "Change in %" ; compute CHANGE_IN_PCT ; if CHANGE_IN_PCT > 0 then call define (_col_,"style","Style= [postimage= 'F:\EIAS\School Grades\Dashboard Data\GreenUp.gif']"); endcomp; RUN;
... View more