Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ameydiwanji
Contributor III
Contributor III

How to calculate Market Share?

Hi All,

Can some please help  me on how to calculate market share for sales of different products for different monthly. Below is the example table. In the attached table i want to calculate market share for product A for Jan month, Feb month, March month, etc. Similarly for B product, C product, D product and so on.

 

BrandJanFebMarApril
A10032494503
B200424935585
C250636350309
D300467578350
E400464584330
F32446495850
G27785339
H4244630593
5 Replies
raghvendrasingh
Creator II
Creator II

Hi Amey,

First you need to provide the formula, on what basis you are calculating shares.

Thanks

ameydiwanji
Contributor III
Contributor III
Author

Hi Raghvendra,

In excel it would be for product 'A' Jan month market share 100/1618 (1618 is total of Jan months sale). For product 'B' it will be 200/1618 and so on. For Feb month for product A 324/3302 (3302 is total of Feb months sale)

Regards,

Amey

rahulpawarb
Specialist III
Specialist III

Hello Amey,

Please refer below given sample expressions to calculate market share:

// Considering as is data set

//Jan Market Share

Sum(Jan) / Sum(TOTAL Jan)

//Feb Market Share

Sum(Feb) / Sum(TOTAL Feb)

//Mar Market Share

Sum(Mar) / Sum(TOTAL Mar)

//April Market Share

Sum(April) / Sum(TOTAL April)

//After Using CrossTable Load Functionality - which will create a table with Brand, Month & Value fields

Sum(Value) / Sum(TOTAL <Month> Value)

Refer sample application attached herewith.

Hope this will be helpful.

Regards!

Rahul

ameydiwanji
Contributor III
Contributor III
Author

Hi Rahul,

Thanks for the reply. I am using below expression in measures

Sum (Sale)/sum(total(Sales))  and using it in line graph

This is giving me wrong market share. Basically i want to show the trend of market share for each product over the period of months

rahulpawarb
Specialist III
Specialist III

Hello Amey,

Thank you for the prompt response.

Could you please share the application with sample data along with desired results? This will help me to understand the situation and provide your expected response.

Regards!

Rahul