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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AndrejZitnay
Post Patron
Post Patron

Weighted Average - Percentage in relation to value of product

Hello Guys,

 

Would you be so kind and help me with weighted Average? 
I am very new to measures &  DAX so I need your help.

 

I have Bar chart where I am showing %  of KPI against some products however avererage is not ideal as I need weighted average.

Can I do something like sumproduct in excel?

Below is just example of what I need to achive.

Will be this new measure still interactive in my chart?

 

Weighted average.JPG

 

Many thanks.

 

Andrej

1 ACCEPTED SOLUTION

Hello @v-qiuyu-msft,

 

I have managed to sort this out. I have used advices sumx formula. My original problem wasn't with formula but with wrong data.

Thank you for offering your help.

 

Andrej

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @AndrejZitnay,

 

Can you share us the formula how you calculate the Regular Average and Weighted Average? It seems there should be other used data you didn't posted. Please share detail information, so that we can try to write DAX.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-qiuyu-msft,

 

I have managed to sort this out. I have used advices sumx formula. My original problem wasn't with formula but with wrong data.

Thank you for offering your help.

 

Andrej

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors