Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
abc_18
Creator II
Creator II

How to calculate market share.

Hello,

Can some please help  me on how to calculate market share for sales of different companies for different product. I want to calculate market share for company A for X product, Y product, etc. 

I have to show this value in a KPI,  Market share KPI should give value of a selected company in comparison to all other companies, based on product section.

 

Please suggest.

 

4 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Something along the lines of:

Sum(Amount) / Sum({<Company>} Amount)

(set expression to override the company selection in the divisor)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Kashyap_R
Partner - Specialist
Partner - Specialist

Hi

you can create a KPI with a measure and give filters for company and product

Sum(Sales)/Sum(All Sales)

by filtering they will get to see the share 

Hope this helps

Thanks

Thanks and Regards
Kashyap.R
abc_18
Creator II
Creator II
Author

Hi Kashyap,

I was using

sum(sales)
/
sum({<company_name={"*"}>}total sales) expression which gives me 101.5%, but when I used your expression it gives 100% which is correct.

Can you please tell me what is the difference between * and All.

sunny_talwar

Is it possible that you have few rows where company_name is null or missing?