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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors