Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,075 Most Valuable Professional

Leaderboard
Loading started