cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cameron1
Advocate II
Advocate II

SQL server view - error identifier expected at position 0

Hi,

 

I am currently connected to and SQL server for my Powerapp.  I am able to connect to my tables and retrieve data from columns.   I have a view which I can select, however when I use it for a gallery, I receive the error - "identifier expected at position 0".  I have primary keys set on all tables.  How can I use a view in a gallery?

1 ACCEPTED SOLUTION

Accepted Solutions
Cameron1
Advocate II
Advocate II

I managed to work around the issue which required me to change the advance settings and switch off 'explicit column selection'.  This has removed the error 'identifier expected at position 0' when using SQL server views.

 

Must be a bug.

View solution in original post

2 REPLIES 2
Cameron1
Advocate II
Advocate II

I managed to work around the issue which required me to change the advance settings and switch off 'explicit column selection'.  This has removed the error 'identifier expected at position 0' when using SQL server views.

 

Must be a bug.

View solution in original post

Hi, @Cameron1 -

I had the same issue, with a number of Filter functions suddenly returning errors.

My data is also from SQL views. What concerns me is that for the preview features the Power Apps studio says: "These features will be turned on for all apps soon. Please test you apps with these features enabled and report any problems". I certainly hope we will still be able to turn this off when we are using views - I had the issue not just in a gallery, but for all of my Filter functions.

So - I have combo boxes that are filtered (based on prior selections) and all of those started returning an error. What is very odd is that everything was fine when I last opened the app in design mode - and so I'm guessing I did not have this feature turned on when I last worked on it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,292)