cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SAMUELAL
Resolver I
Resolver I

Data table not working: The query is not valid.

I tried duplicating an app to use a different data source (Save As), but now the data table filter is not working.

 

The only error is in the Runtime category of the App checker. See image for error details (the data source is called HSS Picklist0205Z).

 

DataTable Filter:

Items =  Filter(Filter('HSS Picksheet020521Z', StartsWith(Title,ResourceDropDown.SelectedText.Value)),StartsWith('Serial Number',SerialSearchBox.Text))

 

The formula is the way it is to avoid delegation warnings.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

Hi @SAMUELAL 

Try this and see if it works. " .SelectedText" is problematic and has been deprecated.  You may need to see what intellesense suggests after "Selected."

 

 

Filter(
        HSS Picksheet020521Z', And(
                                    Title = ResourceDropDown.Selected.Value
                                    ), 
                                   StartsWith(
                                              'Serial Number',SerialSearchBox.Text
                                    )
                                )
)

 

 

If Title is a single line of text column, = should work.

View solution in original post

2 REPLIES 2
Drrickryp
Super User
Super User

Hi @SAMUELAL 

Try this and see if it works. " .SelectedText" is problematic and has been deprecated.  You may need to see what intellesense suggests after "Selected."

 

 

Filter(
        HSS Picksheet020521Z', And(
                                    Title = ResourceDropDown.Selected.Value
                                    ), 
                                   StartsWith(
                                              'Serial Number',SerialSearchBox.Text
                                    )
                                )
)

 

 

If Title is a single line of text column, = should work.

View solution in original post

Rockstar!!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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,302)