We have a requirement of calculating product mix within a product category. E.g. We have 2 product categories Sports drink and Energy drinks, within this we have 3 products each A,B,C for sports drinks category and D,E,F for energy drinks category
Sales and the desired output(product mix) are as follows: