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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
mayanknamasys
Regular Visitor

Weighted Average in Sub Metrics

Hi everyone,

 

Metrics in Power BI Service gives us the option to create sub-metrics. I see that there are 4 roll-up options to calculate the option of a Metric from Sub Metric which are Sum, Average, Minimum, Maximum. I want to use a weighted average roll up method because each sub metric will have weights.

 

Is there any way to achieve this? I have read all the documention but couldn't find anything. 

4 REPLIES 4
mayanknamasys
Regular Visitor

Thanks for responding. I understand that calculating the weighted average is possible in DAX but to achieve this, I will have to maintain a separate data source for KPI weights. I was interested to see if it is possible to allocate weights to Sub Metrics itself. 

Anonymous
Not applicable

Hi @mayanknamasys ,

 

Rollup submetrics give you the flexibility to specify how you want your data aggregated. Your data can be aggregated ranging from percent completed, to weighted averages, to overall sums. You can use these rollups to measure progress toward an overall goal.

Refer: Create submetrics that roll up to the metric | Microsoft Learn

 

Best Regards,

Neeko Tang

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

Thanks again. I have gone through that documentation and I know weighted average is mentioned there. But I don't find any way in the Power BI Service to add a weight to sub metrics. There is only option to add targets and actuals. That's why I am not sure if it is possible.

Anonymous
Not applicable

Hi @mayanknamasys ,

 

You need to create a new measure that calculates the weighted average of the sub-metrics.

Weighted Average =
DIVIDE (
SUMX('Table', 'Table'[Sub-Metric Value] * 'Table'[Weight]), 
SUM('Table'[Weight])
)

For more details, please refer:

Create submetrics that roll up to the metric | Microsoft Learn

Announcing submetric roll ups in Power BI Metrics | Microsoft Power BI Blog | Microsoft Power BI

How to calculate weighted average using DAX in Power BI (datacornering.com)

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.