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 / square or cube of a gi...
Power Automate
Answered

square or cube of a given no which is dynamic

(0) ShareShare
ReportReport
Posted on by 2

How to use Raise to or power function in Power Automate desktop to get square root or cube root of a given no which is dynamic

i am taking input from user 

i convert text to number 

than for Power of 2 for square and 3 as cube how can i acheive that

 

i want output as like this

 

enter no: 3(input by user)

Square of this- 9

Cube of this- 27

 

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @suraj_8 

     

    You can try this way

     

    square

    Nived_Nambiar_0-1679041425198.png

     

     

    cube

     

    Nived_Nambiar_1-1679041440348.png

     

     

    a is a integer variable here

     

    if you want high number with higher power , better to use loop actions 🙂

     

    Kindly mark it as solution if it helps

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard