You have to create 2 expressions for each category. the category that you want to show %, you need to use Dual function with Num format as %.
It can be shown as % but only when value is plotted inside segment, when value on top, it's still showing as number.
Please see the attached file.
testperc.qvw 153.2 K