web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Calculate Ms Forms Response

(0) ShareShare
ReportReport
Posted on by 3

Hi all, 

 

i have set up a form with many question which the question will be depend on previous question(branching). most of the question answer will be "yes", "no" answer. 

 

Is there a way for me to build a flow that will assist to calculate how many question with "yes" answer and put it on a column in sharepoint list? 

 

i already try expression sum(if(response="yes",1,0),if(response2="yes",1,0).........) but it failed. 

 

is there a way?

 

Thanks

I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    32,910 Most Valuable Professional on at
    Re: Calculate Ms Forms Response

    Hi @Zrl,

     

    I believe you can achieve this by using an add function and also including an equals operator.

     

    Try this example. Replace the question ids by your question ids.

    add(if(equals(outputs('Get_response_details')?['body/rc44b58908ce2400ea83023abedc7b24e'], 'Yes'), 1, 0), if(equals(outputs('Get_response_details')?['body/r9944752806574d43b8529d99ab9e51fe'], 'Yes'), 1, 0))

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard