Category Analysis and calculation of profit