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
Answered

syntax EOF

(0) ShareShare
ReportReport
Posted on by 36

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.Issue5.3.pngIssue5.1.pngIssue5.2.pngIssue5.4.pngIssue5.5.png

Categories:
  • Thefournier351 Profile Picture
    36 on at

    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

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    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

  • Thefournier351 Profile Picture
    36 on at

    Issue1.pngIssue2.pngIssue3.pngIssue4.pngIssue5.png

    I posted every picture of the code to cover all my bases let me know if you need something else in particular

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Ok brilliant thanks,

     

    Looks like these are missing:

    image.png

     

    from here:

    image.png

     

    Could you amend the last part to be:

    ("True") , ("False")) } ))

     

    And then let me know if that still has errors?

  • Thefournier351 Profile Picture
    36 on at

    it writes the entire formula red and wrong

  • Liquid error: Exception has been thrown by the target of an invocation. Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Remove the lonely semicolon at the end of your comment block.  Most likely that is the issue.

  • Thefournier351 Profile Picture
    36 on at

    I have done that and then it expects an operator

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Ok,

     

    There's also an error in your FireExtinguisherToggle which should be FireExtinguisherToggle.Value

    image.png

    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

  • Thefournier351 Profile Picture
    36 on at

    I caught that mistake last night as i took these screenshots so the issues are present after that has been fixed

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard