Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
leongramm99
Frequent Visitor

Market Share Calculation Matrix

Hi guys! 


Basically I'm trying to calculate market share in a matrix table over multiple years. I went ahead and created a simple divide calculation that takes the sales value column and divides it by the market value in another column. This worked fine, although there's one problem, as you can see below in the picture, in the bottom table, there's one product that does not match with the other categories in a product segment column. So the percentage calculation gives out the value 0, since the column is not available for the market data. What I want to do instead is divide product segment D by product segment C. Is there a way to do this in PowerBI? Please let know if my question is not clear enough, I'd be more than happy to clarify this for yoo! 

 

Thanks a lot in advance! 

leongramm99_0-1684940200738.png

 

1 REPLY 1
Anonymous
Not applicable

Hi @leongramm99 , 

 

It's not clear what you mean, whether you can express the result you want in the form of a picture. 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you .

 

Best Regards, 

Liu Yang 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.