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 Apps / Error division by zero
Power Apps
Unanswered

Error division by zero

(0) ShareShare
ReportReport
Posted on by 84

Amerageachieved:

Set(g1,AMPERAGEACHIEVED.Text)

Generatorrating:

Set(g2,GENERATORRATING.Text)

Calculate Button:

UpdateContext({DRAWPERCENT:(g1/g2)*100});

Drawpercent:

If(resetControls, Blank(), Text(Value(DRAWPERCENT), "[$-EN-US]#0.00"))

 

The numbers I used for g1 was 12.5 and for g2 was 541. These give me a decimal that i convert into % by *100. I am confused because I have used this in another page of my app and works fine but I cant figure out what is wrong with this one.

Categories:

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard