Just want to know why the report created using code below could not display label names without _? Anyone can help? Thanks.
PROC PRINT DATA=MYDATA
BY BRANCH_CODE BRANCH_NAME;
ID BRANCH_CODE BRANCH_NAME;
SUM BRANCH_PROFIT;
LABEL BRANCH_CODE="BRANCH CODE";
LABEL BRANCH_NAME="BRANCH NAME";
LABEL BRANCH_PROFIT="BRANCH PROFIT";
FORMAT BRANCH_PROFIT DOLLAR16.2;
RUN;
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.