web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Use formulas to perfor...
Power Apps
Unanswered

Use formulas to perform calculations

(0) ShareShare
ReportReport
Posted on by 23

Hi, I am very new to PowerApps and I am trying to understand how it works. 

I am therefore tying to implement the example described here Use formulas to perform calculations - Learn | Microsoft Docs but I have two issues:

1) I don't find "TextInput" therefore I used "TextBox" (I hope is the same)

2) The sum gives me an error and doesn't work (see attach

Can you please help me?

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @agneseb ,

    1. Yes, as I saw in your picture you choose the right controls. For a better user experience, select your TextBox2/TextBox3 and set the format to number:

    gabibalaban_1-1613119112742.png

     

    2.  You need to refer to the Text property of the TextBox2 and TextBox3 controls and because this values are store as text you need to convert it to number. So the formula you looking for is:

     

     

    Text(Value(TextBox2.Text)*Value(TextBox3.Text),"@#,###0.00")

     

     

      

    Hope it helps !

  • Verified answer
    agneseb Profile Picture
    23 on at

    Hi and thanks for your answer. Unfortunately it doesn't work

    1. I can't find the Format properties, all I see in the properties is this

    agneseb_0-1613372385890.png

    I also tried to looked at the advanced but there is nothing.

    2. I tied also to put this formula, but I get still errors

    agneseb_1-1613372482272.png

     

    I guess the issue is on point 1 or on the fact that I use a TextBox instead of an InputBox, but InputBox is not available in my inputs

    agneseb_2-1613372625305.png

    😫

  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @agneseb 

     

    The Sum function either sum the values in a column or list of numbers. looks like you are mixing the two a bit. 

     

    In your example Value(Textbox1.Text) * Value(Textbox2.text) will provide an answer the function will look like:

    Text(Sum(Value(Textbox1.Text) * Value(Textbox2.text),"[$-en-US]#,###")

    Text(Value(Textbox1.Text) * Value(Textbox2.text),"[$-en-US]#,###") - notice no sum as per @GABI1 reply

     

    Hope this 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard