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 / PAD Two Variable Addit...
Power Automate
Unanswered

PAD Two Variable Addition Syntax reference not correct

(0) ShareShare
ReportReport
Posted on by 46

Hi everyone,

 

I have seem the post as follow

https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Power-Automate-Desktop-PAD-How-to-perform-math-on-2-or-more/m-p/963044 

 

Asking the same question about add two variable value together. I have checked the reference link as follow

 

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation 

 

But there is no sum up two variable,

whatever e.g

%Var1 + Var2%  or  %Var1% + %Var2% 

Result show the same e.g. 1 + 6

But not 7

 

Attached with the screen capture for reference

 

 Source TableSource TableAdditionAdditionResultResult 

 

How can I sum up the result equal to 20 ?

 

Please let me know if any alternative way for this case

 

Thanks

Henry

I have the same question (0)
  • kinuasa Profile Picture
    799 Most Valuable Professional on at

    Hi,
    I suggest using the "Convert text to number" action to calculate it as a number.

     

    Regards,
    kinuasa

     

    • Sample Flow:
    Variables.CreateNewDatatable InputTable: { ^['Value', 'Original text'], [20, '20'], [0, '0'], [3, '3'], [0, '0'], [13, '13'], [4, '4'], [0, '0'], [0, '0'] } DataTable=> RecognizedEntities
    SET Sum TO 0
    LOOP FOREACH CurrentItem IN RecognizedEntities
     Text.ToNumber Text: CurrentItem['Original text'] Number=> TextAsNumber
     SET Sum TO Sum + TextAsNumber
    END

     

  • henryhvb5 Profile Picture
    46 on at

    Hi kinuasa, 

     

    Thank you very much for your advice, convert text as number solve my problem.

     

    I overlook the flow missing to convert text as number.

     

    Regards,

     

    Henry

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard