Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VOrdipoMQePmg0IDch9aiM
Power Automate - Building Flows
Answered

how to calculate square root, absolute value in expressions?

Like (0) ShareShare
ReportReport
Posted on 3 Jan 2021 05:09:34 by

Hi,

 

I am using power automate to create 54 columns with calculations which include exponents, square roots, absolute values etc.?

 

How do I achieve the following in expressions?

  1. (body('Create_item')?['column1']))^2  (eg. 5^2 = 25)
  2. Abs((body('Create_item')?['column1']))   (eg. Abs(2) or Abs(-2) = 2)
  3. Sq.rt((body('Create_item')?['column1']))   (eg. Sq.rt(25) = 5)

 

Regards,

Aakash

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on 03 Jan 2021 at 21:31:32
    Re: how to calculate square root, absolute value in expressions?

    Hi @Anonymous 

     

    Unfortunately these functions are not available under Power Automate. The only way you could implement is host a http webservice/function where it can receive the numbers and return the relevant math function results. Use the HTTP action step in Power Automate to call the custom function/webservice.

     

    You could also add this as an idea under the idea forum.

     

    Power Automate Ideas - Power Platform Community (microsoft.com)

     

    Thanks

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 186 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 163 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 159

Overall leaderboard
Loading started