cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oappdev
Advocate V
Advocate V

Calculate total from multiple choice on SharePoint List

Happy Saturday

 

Have a sharepoint list call Risk Scoring

 

Have 2 column one call Attributes/Values and the other Points.

 

What is the best approach to collect the total when they select multiple choice from a dropdown

 

[x] Lives with someone poor support

[x] Lives alone, good support system

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

Total: 8

 

Capture.PNG

 

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions

you need to use the Patch function to insert the Sum in other list.

View solution in original post

5 REPLIES 5
Edwin-Abdalian
Solution Supplier
Solution Supplier

1- OnChange of your ComboBox: ClearCollect(colSelectedItems,cmbRiskScores.SelectedItems.Points)

2- Create a label and set the Text to : Sum(colSelectedItems,Points)

 

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

Please Accept as Solution if this post answered your question so other members can find it. If you found this post helpful consider giving my post a Thumbs Up!

v-monli-msft
Community Support
Community Support

Hi @oappdev ,

 

Is Attributes/Values a multiple-selection choice column? And Points a number column? And how would want the numbers in Points column to be summed? 

 

Regards,

Mona

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

Hi @v-monli-msft 

 

That is correct

  • Using a Combo box for Attributes/Values
  • Points is a number column

 

I was able to create a Label and add this to the Text Property  from @Edwin-Abdalian

Sum(ComboBox2.SelectedItems,Points)

Displaying the correct sum on the label

 

I would like to submit the sum to a Column in SharePoint call Total Score 

you need to use the Patch function to insert the Sum in other list.

View solution in original post

Thank you @Edwin-Abdalian Will give it a try and circle back

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,011)