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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Returning sum of value...
Power Automate
Answered

Returning sum of value-based answers from Microsoft Forms

(0) ShareShare
ReportReport
Posted on by 5

Hi!

 

I'm working out a Flow to send a mail to a specific mailbox with the values of questions answered in a Form.

5 questions asks the user to enter values.

I need those 5 values to be summed up and returned as a total in the mail sent.

 

It's an estimate for workshop costs.

For example I need it to sum the costs of "engine" and "transmission", both of those answers are number-values in the Form created.

I can't figure out how to do this, I'm sure it's extremely simplet, but I'm lost.

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @bbpdk ,

     

    Here are the basics of what you want to accomplish.

     

    Steps

     

    1. Trigger: Microsoft Forms - When a new response is submitted

    Form ID: {Your form name}

     

    2. Add action: Microsoft forms - Get response details

    This will create a apply to each loop with list of responses inside.

     

    3. Add actions: Data Operations - Compose

    Inputs: use expression--  float()  --add your dynamic content of the answer inside the parentheses

    ** Do this for each of your answers in your form **

     

    4. Add action: Data Operations - Compose

    Inputs: use expression--  add()   --add the outputs of each compose from above separated by  a coma inside the parentheses

     

    ** Note that the flow will fail on whole numbers. The float expression is looking for a decimal floating point number **

     

     

    Here are some screenshots:

     

    pic1.pngpic2.pngpic3.png

     

    Hope his helps!

     

    -Josh

     

    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

  • bbpdk Profile Picture
    5 on at

    Thanks a lot @Jcook , it was exactly that I was looking for!

    All numbers whole numbers, so I used the expression -- int() -- instead of -- float() --

  • Colin2 Profile Picture
    2 on at

    Hi JCook,

     

    My problem is almost the same as the above, however I have gone one step further. I have already added a formula in the table where the Microsoft Forms responses are stored. This formula sums up the survey results and also give a standard interpretation in another column in the same table. 

     

    I now have to email this interpretation back to the respondent. 

     

    Tried many ways like get row, or list row but it will either not work or it keep sending many emails from the previous responses again too. 

     

    Thanks in advance. 

     

    Colin

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard