Hi @Cynthia_sas , Thanks for the response. here is the code which I tried to to get computed variable to appear as second variable in report, but I am getting missing value(may be because the predefined logic of computed variable are treated as numeric). Please guide to achieve the expected result. PROC REPORT DATA=work.Temp2 nowd HEADLINE HEADSKIP
style (report) = {background = white
font_face = "Verdana" font_size = 7pt just=left bordercolor=grey rules=All frame=box}
style (column) = {background = white CELLHEIGHT = 2.5%
font_face = "Verdana" font_size = 7pt just=left }
style (header) = {foreground = cx5e2750 font_face="Verdana"
font_size = 8pt just=left
};
columns zp_fl_nm startingtime start_time end_time duration ;
define zp_fl_nm/display ;
define startingtime/computed;
define start_time/display 'Start_Time' format=datetime.;
define end_time/display 'End_Time' format=datetime.;
define duration/computed format=time.;
compute startingtime/ character length=20;
startingtime=catx('',put(datepart(start_time),DDMMYY10.),put(timepart(start_time),time.));
endcomp;
run;
... View more