create a calculated field like below
above calc will subtract the category A from category C
Hope this helps kindly mark this answer as correct or helpful so that it will help others
I am still not able to resolve this issue. Can anyone assist please?