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 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.

 

 

 

 

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard

Featured topics