Sales data analysis: calculate percentage of each product as per total sales Suppose I have the following product sales data: