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 Platform Community / Forums / Power Automate / Calculate Ms Forms Res...
Power Automate
Unanswered

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

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,175 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard