Showing results for 
Search instead for 
Did you mean: 
RS Advocate II
Advocate II

Erratic behaviour when filtering Gallery Lists

I have two Apps that both filter a gallery based on the selection of an item in another seperate gallery list. The first works perfectly, the second flat out refuses and constantly throws an invalid argument or invalid seperator error, despite the syntaz being identical on both.


App 1 (Working)

Filter(DiaryData,  Project = Gallery2_1.Selected.Site)

App 2 (Errors)

Filter(BoQ, Area = ProjectArea.Selected.Area)


The only things that are different is that the second example is working off a list with a lot of repetitive data & both galleries are on the same screen.


I've found several other threads mentioning this issue, but the solutions given (add .Value) don't do anything for me. Anybody got any clues? Thanks in advance.





RS Advocate II
Advocate II

Re: Erratic behaviour when filtering Gallery Lists

Forgot to mention, if I amend the second App Gallery Item formula to: 


Filter(BoQ, Area = "Level 00") where Level 00 is a selectable value from the first gallery List, it works flawlessly. 

Community Support
Community Support

Re: Erratic behaviour when filtering Gallery Lists

Hi @RS,


Could you please explain a bit for the data type of the Area field in the first gallery of your example 2?

The Area field in the filter function should be in the same type.

If the Area field in first gallery is lookup type, then adding .value should make it work:

Filter(BoQ, Area = ProjectArea.Selected.Area.value)

If the Area is also a lookup type in the BoQ, then the formula should be:

Filter(BoQ, Area.value = ProjectArea.Selected.Area.value)

For some known issues, check:

Connect to SharePoint from PowerApps




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,029)