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.

Divide by Zero (but divide by 3 is declared)

Posted on by 242

Hello,

 

i have a app, in the OnStart off the App i declare a Variable - helping me to set the correct item height in a Gantt-Chart Gallery.

 

When i press the play button i instantly get the error message saying divide by zero not possible for these items using the variable to define height(at least they are mentioned in the debugg Monitor)
Chart is displayed in the correct way after 2 seconds when everything is loaded..

 

is there a chance to fix this problem?

in my opinion i get this error message because powerapps doesnt pull the variable fast enough even though its the first item in my onstart property. 

I tryed IfError() saying devide/3 but also this does not help.

 

Any ideas?

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard

Featured topics