Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
yogendrawasaika
Contributor
Contributor

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)