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 / Division by Zero Error
Power Apps
Answered

Division by Zero Error

(0) ShareShare
ReportReport
Posted on by 1,362

Hello,
I am getting an error when I try and do some division an not sure how to tackle this.

golfnutt82_0-1678476369853.png

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @golfnutt82 

    Check out Shane Young's video here about using the IfError function.  He has a section for the divide by zero error.

    https://www.youtube.com/watch?v=VUk7krgitzw 

  • golfnutt82 Profile Picture
    1,362 on at

    Thanks for the info.
    The video was very helpful and I was able to do the following to produce the result I was looking for.

    IfError(DataCardValue5/lblTotlalNumbOfUsesOverLife,0,RoundUp(DataCardValue5/lblTotlalNumbOfUsesOverLife,2))

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard