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 Automate
Answered

Multiplying variables

(0) ShareShare
ReportReport
Posted on by 4

Hey all!

Im trying to multiple a variable (submitted by the user) by 2:

Avshi_0-1673283725854.png

Im guessing my syntax probably lacking some conversion..

SCORE, KM type STRING. 

Any suggestions..?

Categories:
I have the same question (0)
  • David_MA Profile Picture
    13,912 Super User 2026 Season 1 on at

    Multiplication requires numbers. I am guessing 'KM' is a field in your list? If so, you need to switch to the dynamic content tab and insert it into the expression from there. You cannot just type in the name of the field.

     

    For example:

    David_MA_0-1673285140015.png

    The expression is:

    mul(triggerBody()['number'],2)
  • Avshi Profile Picture
    4 on at
    KM is a number type field submitted by the user. (In this case: amount of kilometers the user ran). How do I multiply this by 2 for instance? The resule of course will be stored in SCORE.
  • Verified answer
    David_MA Profile Picture
    13,912 Super User 2026 Season 1 on at

    As I mentioned in my original post, in the expression builder you need to switch to the Dynamic content tab, find the field in the listing and insert it into your formula from there.

     

    This short video will illustrate what I am referring to (1) How to use the first expression in #PowerAutomate #PowerPlatform #Microsoft365 #Microsoft - YouTube

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard