Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

SharePoint List sum with power automate

(0) ShareShare
ReportReport
Posted on by
Hi Guys,
I have a SharePoint list and one of the columns have the multiple-choice option, I want to give each choice a value of 1 and when several choices are selected, I want them to be added and provide a total sum. Can this be done with formulas in list or would I need to use Power automate?
  • eric-cheng Profile Picture
    5,171 on at
    Re: SharePoint List sum with power automate

    Hi @libretech ,

     

    You can use length().

     

    1. Sample multi choice column called 'Choice'

    ericcheng_1-1630739477018.png

     

    2. In your flow, use the length() expression against the column to get the number of items inside.  As you want to score each item as 1, this should be sufficient for your needs. 

     

    length(items('Apply_to_each')?['Choice'])

     

    ericcheng_0-1630739450615.png

     

    I selected two items so a score of 2.

     

    ericcheng_2-1630739494133.png

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow