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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Addition - adding two ...
Power Automate
Unanswered

Addition - adding two numbers together and producing ttl in email

(0) ShareShare
ReportReport
Posted on by 93

I am working on a flow - where i want to add total adults and total kids to give me the total number combined. 

 

the data is coming from a Microsoft form and being inputted into an excel table. So i have added another column but the flow wont recognize that column as it isn't part of the original form. 

 

I have used initialize variable to make the number turn into a number but when i try the add expression it wont recognize my formula.

 

can anyone assist please.

 

thanks

 

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @AliciaDG 

    Are ‘total adults’ and ‘total kids’ a Text type problem in the Form?

    Do you want to add the outputs of the two responses?

    You can try to convert the string to a number with Int function and then add the two number with Add function.

    vLilyWmsft_0-1644818984924.png

    Expression:

    add(int(outputs('Compose')),int(outputs('Compose_2')))

    vLilyWmsft_1-1644819007397.png

    When a new response is submitted, I will receive an email like below:

    vLilyWmsft_2-1644819103575.pngvLilyWmsft_3-1644819160104.png

    Hope the content above may help you.

    Best Regards

    If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard