Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Error: Unexpected characters. 'ParenClose' where 'Eof' is expected for combo-box


I have a powerapps form linked to sharepoint.

I have a combo-box that reads data from SQL. The combo box has below formula on the items.

Filter(VW_ANC_WorkerPositionRate, REVPROJID = ComboBox1.Selected.PROJECTID),
Filter(VW_ANC_ProjectStaging, REVPROJID <> ComboBox1.Selected.PROJECTID)

However, when I change the combo box property to Allow Searching - it shows error - "the formula contains parenclose where eof is expected powerapps".

Please help.


Accepted Solutions
Post Prodigy
Post Prodigy

The issue has been resolved by removing the comments in teh code.

View solution in original post

Post Prodigy
Post Prodigy

@RandyHayes , kindly help if you have encountered a similar one before.

Post Prodigy
Post Prodigy

@WarrenBelz , kindly help 

Post Prodigy
Post Prodigy

The issue has been resolved by removing the comments in teh code.

Community Support
Community Support

Thanks for updating the thread with your findings!

Super User
Super User


Your Formula did not show any I suppose you excluded them in your post and discovered them as an issue.


Comments can be in-line (at the end of a line) and proceeded with //

Or an entire block can be commented with the start of the block containing a /* and the end of the block containing a */

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

This is not so intuitive, but it helped ! Thank you

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,956)