I'm getting this error when I open my app, and this just started like a week ago.
Invalid operation: division by zero.
I don't see anything in the formulas section of the App Checker and I don't believe I have any formulas that do any division. This is stumping me.
Any ideas?
Solved! Go to Solution.
For anyone else using Reza's Ticketing app, experiencing this issue, I was able to resolve it by changing the Template Width property of galtabs to:
If(CountRows(Self.AllItems) > 0,Parent.Width/CountRows(Self.AllItems))
Do you have a divison somewhere i your app? Show us here
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
My website!
I do have some in formatting:
Template Size:
Parent.Width/CountRows(Self.AllItems)
If you insert that CountRows(Gallery.AllItens) in a label, does it give something?
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
My website!
I added this to the Text property of a label:
Parent.Width/CountRows(galTabs.AllItems)
The output was: 273.2
Set that in a var and set the width to that var
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
My website!
Hi,
Most likely when you open the app, the countRows gets 0 rows since it hasn't loaded.
I'll suggest creating a variable on OnStart, assign the value of 1 (to take the full width), maybe once it loads set that variable to the item inside of the countRows and use that variable you created inside the count rows.
For anyone else using Reza's Ticketing app, experiencing this issue, I was able to resolve it by changing the Template Width property of galtabs to:
If(CountRows(Self.AllItems) > 0,Parent.Width/CountRows(Self.AllItems))
I built Microsoft Crisis Comms power app (fromthe package) and end user side is not working, probably because I have the same message pop up? What do I do, please!
User | Count |
---|---|
258 | |
110 | |
97 | |
57 | |
40 |