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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
mohammad-saber
Frequent Visitor

How to calculate percentage share of a metric for different values of dimensions?

Hi, 

 

Thanks for reading my question. 

 

I have a Power BI report for Energy Retailer data as shown below:

 

mohammadsaber_0-1694416088363.png

 

There are several slicers at the left side. 

 

I want to add a new bar chart which shows the Market Share for every retailer, like below:

 

mohammadsaber_1-1694416111178.png

 

 

The calculation method will be:

1) Calculate the sum of Customer Numbers for all Retailers, and for the value of dimensions selected by slicers. 

2) For every retailer, Market Share is the sum of the Customer Number of that Retailer (for the value of dimensions selected by slicers) divided by the total Cusotmer Number calculated in step 1. 

 

Here is the sample report and data: URL

 

---------------------------------------------

 

In addition, I want to show the Market Share as a seperate chart for a specific Retailer like below (3rd page of the report). Note that user can select several quarters. 

 

mohammadsaber_0-1694419113200.png

 

 

---------------------------------------------

 

Please note that the data source itself has a field named Market Share, but data is not accurate. So I need to calculate Market Share.

 

Thanks for your help. 

 

 

0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.