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 Apps
Answered

Divide By Zero

(0) ShareShare
ReportReport
Posted on by 203

Hi everyone,

 

I had some divide by zero errors in my app, which I fixed using the IfError function.  When I check for errors in the App Checker, I don't have any left.  However, when I run or start or launch the Application, I'm still getting the error at start up.  Any ideas how I can find where the supposed error is??

Also, for information, when I was fixing the errors, I had an issue with one of the labels that stored the function - it kept telling me that there was a divide by zero error, even when I deleted the function in the text field.  The only way to get rid of it was to delete the label itself and re-add it and then it worked fine!

Steph

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

    @StephCORKING ,

    Is there any possibility to have some code in OnStart property of the app ?

    The error is a runtime error, not a syntax one and it will be visible, I’m afraid, as long as the current session exists or you navigate in play mode from another screen to the one with the problem (after you repair the error).

    Hope it helps !

  • StephCORKING Profile Picture
    203 on at

    Hi @gabibalaban 

    I don't have anything in the OnStart property that would cause this - I only have some collections from Sharepoint and the setup of the user. I also verified the Launch page to make sure that the items there have the IfError function.

  • StephCORKING Profile Picture
    203 on at

    Hi @gabibalaban 

    So, I went through the OnStart property and tried running the content in blocks to see where the error happens.  I think it's due to some ClearCollect items that were running concurrently but not related to the error that was returned!

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard