Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Calculator in Form

Posted on by 75

Hello everyone.

 

I followed this guide to make a calculator Build a Calculator in Power Apps - SPGuides

The formula is not working if I also use the result value to add/minus/multipy/divide to another number.

How should I make this work?

 

Text Input on Change Properties:

Set (VarPrice,DataCardValue1)

Set (VarDay,DataCardValue2)

 

Buttons on select properties:

UpdateContext({ResultValuePrice: VarPrice + VarDays}) <--change + to -,*,/ for every button.

 

Text Input Default property for the result:

ResultValuePrice

 

My form looks like this:

I've tried to follow the same formula, but I always got the same 0 result in the last text Input.

I am not sure what's wrong.

Curiosity_user_0-1695970985931.png

 

Thank you.

 

 

 

 

Categories:

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 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,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard