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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
rythm
New Member

Calculating a weighted average

Hi

I have a SharePoint list with 5 number columns (item1, item2, item3, item4, item5) and a category choice column with values category 1 and category 1 and a people column.

 

I would like to use Power BI desktop to build a graph that shows the sum of item1, the sum of item2, the sum of item3, the sum of item4, and the sum of item5.  I was able to achieve this using a pie graph and also a stacked column chart. How can I build a bar chart that shows the sum of each item on a separate bar for a side-by-side comparison? Finally, I would like to show a data-table that calculates a weighted average of each number column i.e for item1, item2, item3, item 4 and item5. The weighted average formula is=  0.7*category1 score of Item + 0.3*category2 score of item

 

 

 

How can I achieve this using power BI desktop? I am using a SharePoint 2019 list.  Can anyone please list the steps to achieve this?

 

Thanks in advance,

1 REPLY 1
Stachu
Community Champion
Community Champion

Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).

Column1Column2
A1
B2.5

 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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