Announcements
Please find my attached photos describing my formula problem, any guidance would be much appreciated as I have spent a significant amount of time trying to figure it out and i am sure its something small I am just not seeing.
also disregard the hidden code as I am not using it currently in the app it is just code written to employ at a later date
Could you paste the entire IsBlank&Patch section as text - it looks like you're just missing a ) or two somewhere but I can't see past the last line in your screenshot and it's going to be after OperatingControls: First
I posted every picture of the code to cover all my bases let me know if you need something else in particular
Ok brilliant thanks,
Looks like these are missing:
from here:
Could you amend the last part to be:
("True") , ("False")) } ))
And then let me know if that still has errors?
it writes the entire formula red and wrong
Remove the lonely semicolon at the end of your comment block. Most likely that is the issue.
I have done that and then it expects an operator
Ok,
There's also an error in your FireExtinguisherToggle which should be FireExtinguisherToggle.Value
Once you've corrected that, could you let me know what the higlighted errors say?
And that semi-colon is needed to indicate the end of that block before the next If( starts
I caught that mistake last night as i took these screenshots so the issues are present after that has been fixed
It could be something ABOVE your comment block. While I'm not in PowerApps Studio at the moment, I don't believe that a lone semicolon is allowed, so unless something before the comment block NEEDS a semicolon, I'd take the lone one out. That said, not sure if /* */ style comments can be used in the "middle" of a statement (prior to the ;), though // can. But something above your comment block may be causing issues.
Also note that there are some quirks in how comments work - ie: nesting comments inside of comments does not work as it would in most environments.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135