Showing results for 
Search instead for 
Did you mean: 
New Member

Fetching items failed. Possible invalid string in filter query.  Create collection based on the column values in a sharepoint list

I have a SharePoint list, and I want to populate a gallery from this list but based on the condition in 2 columns. These 2 columns are number fields. I want to only get the items where field 2 is less than field 1. My ClearCollect looks like this: 


ClearCollect(dates, Filter('Custom Dates', 'Actual number' < 'Desired number'));

So I want to get all items where the actual number for that item is < the Desired number field. When I do this I don't get any error in the designer, however when I click "Alt" than try to click the button, I get the error saying: 


Fetching items failed. Possible invalid string in filter query. 


and that's it. Is there a solution to this? 






It worked for me! Thanks!

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,021)