I'm not 100% sure that I understand what you're after, but this might give you some ideas.
First, let's assume you're working with the "SASHELP.CARS" dataset. Among others, it has "Stores", "Sales", "Inventory", and "Returns" variables.
To emulate your dataset that contains the unit values for the different variables, I'm submitting this code:
data concurrence;
length VarName $20 UnitName $20;
input VarName UnitName;
call symput(strip(varname), strip(UnitName));
cards;
Stores Integer
Sales DollarsS
Inventory DollarsI
Returns DollarsR
run;
This will put values like "Integer" into macro variables like "Stores".
Now when you create your chart, on the Vertical Axis / Label text box, put your variable name preceeded by a & and followed by a dot. So if you're variable is "Sales", you would type "&Sales." (no double quotes!), and you would see DollarsS as the axis label.
Does this move you towards where you want to be?
Tom
... View more