Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calculate market share

Can some please help  me on how to calculate market share for sales of different products for different region. Below is the example table. In the attached table i want to calculate market share for product A for X region, Y region, etc. Similarly for B product, C product.


Product, Region, Sales

A, X, 50

A, Y, 520

B, X, 500

B, Y, 10

C, X, 800

C, Y, 400

C, Z, 200


Thanks in advance.

2 Replies
vvira1316
Specialist II
Specialist II

Share.PNG

Sum(Sales)/Sum({<Region>} TOTAL <Product> Sales)

zebhashmi
Specialist
Specialist

Sum(Sales)/Sum(TOTAL <Product> Sales)

or

=Sales/Sum(total<Region>Sales)