Depending on the specific type of percentage needed sometimes Proc Tabulate is easier than Proc Report.
the example below shows separate tables for the count and percentages as shown plus another table with both present.
data have;
length SEGMENT $9 CLASS $2;
input SEGMENT CLASS COUNT;
datalines;
SEGMENT_1 X1 25
SEGMENT_1 X2 26
SEGMENT_1 Y1 42
SEGMENT_1 Y2 25
SEGMENT_2 X1 46
SEGMENT_2 X2 25
SEGMENT_2 Y1 21
SEGMENT_2 Y2 42
SEGMENT_3 X1 37
SEGMENT_3 X2 38
SEGMENT_3 Y1 44
SEGMENT_3 Y2 18
;
run;
proc tabulate data=have;
class segment class;
freq count;
table segment='' all='Total',
(class='' all='Total')*n=''
/box=segment
;
table segment='' all='Percentage',
(class='' all='Percentage')*rowpctn=''*f=best3.
/box=segment
;
table segment='' all='Total',
(class='' all='Total')*(n='Count' rowpctn='%'*f=best3.)
/box=segment
;
run;
Tabulate by default shows percentagess without a % and have the values as multiplied by 100 and shows 2 decimal places. If you want the % character a custom format would be needed with your data.