Below is a sample dataset and code that I am running. If you run this you will see the legend says Fail, 0,1. I would like it to show the total of passes and fails. So it would have pass 9, fail 1. Any help will be appreciated. Also, I'm not experienced using graphs, so any other suggestions or pointers are welcome.
edit* Also, I am getting the following warnings when I go to my full datasset:
WARNING: The intervals on the axis labeled "REPORTING_MONTH" are not evenly spaced. WARNING: Some INSIDE= labels were not drawn due to space limitations.
Thank You,
data data;
infile cards dsd;
input reporting_month$ rule$ fail_total column$ description$ pass fail;
cards;
20151031,0001,0,BHC_NAME,No Nulls,1,0
20151130,0001,0,BHC_NAME,No Nulls,1,0
20151231,0001,0,BHC_NAME,No Nulls,1,0
20151031,0002,0,ID_RSSD,No Nulls,1,0
20151130,0002,0,ID_RSSD,No Nulls,1,0
20151231,0002,0,ID_RSSD,No Nulls,1,0
20151031,0003,0,PORTFOLIO_ID,ContentCheck=USOthCons,1,0
20151130,0003,0,PORTFOLIO_ID,ContentCheck=USOthCons,1,0
20151231,0003,0,PORTFOLIO_ID,ContentCheck=USOthCons,1,0
20151031,0004,0,REPORTING_MONTH,ContentCheck=QTR,1,0
20151130,0004,0,REPORTING_MONTH,ContentCheck=QTR,1,0
20151231,0004,0,REPORTING_MONTH,ContentCheck=QTR,1,0
20151031,0005,0,SEGMENT_ID,No Nulls,1,0
20151130,0005,0,SEGMENT_ID,No Nulls,1,0
20151231,0005,0,SEGMENT_ID,No Nulls,1,0
20151031,0006,0,PRODUCT_TYPE,ContentCheck=01-05,1,0
20151130,0006,0,PRODUCT_TYPE,ContentCheck=01-05,1,0
20151231,0006,0,PRODUCT_TYPE,ContentCheck=01-05,1,0
20151031,0007,0,PRODUCT_TYPE,Comapre01=Secured/Revolving,1,0
20151130,0007,0,PRODUCT_TYPE,Comapre01=Secured/Revolving,1,0
20151231,0007,0,PRODUCT_TYPE,Comapre01=Secured/Revolving,1,0
20151031,0008,0,PRODUCT_TYPE,Compare02=Secured/Installment,1,0
20151130,0008,0,PRODUCT_TYPE,Compare02=Secured/Installment,1,0
20151231,0008,0,PRODUCT_TYPE,Compare02=Secured/Installment,1,0
20151031,0009,0,PRODUCT_TYPE,Compare03=Unsecured/Revolving,1,0
20151130,0009,0,PRODUCT_TYPE,Compare03=Unsecured/Revolving,1,0
20151231,0009,0,PRODUCT_TYPE,Compare03=Unsecured/Revolving,1,0
20151031,0010,1,PRODUCT_TYPE,Compare04=Unsecured/Installment,0,1
20151130,0010,1,PRODUCT_TYPE,Compare04=Unsecured/Installment,0,1
20151231,0010,1,PRODUCT_TYPE,Compare04=Unsecured/Installment,0,1
;run;
proc gchart data=data;
vbar reporting_month / discrete subgroup=fail
/*group=pass*/ /*g100 nozero */
/*sum=fail*/ /*type=sum */
inside=freq width=10;*
gaxis=axis1 raxis=axis2;*
legend=legend1;
run;
quit;
... View more