web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter gallery based o...
Power Apps
Answered

Filter gallery based on another gallery giving invalid argument type error

(0) ShareShare
ReportReport
Posted on by 5

I'm new to powerapps and trying to setup a gallery that's filtered based on the selection of a gallery on another screen.  I've been searching and watching videos on it all day, but haven't been able to get it to work.  I'm not sure what I'm missing here.  Any help is greatly appreciated. 

 

My first screen has a Gallery called summaryGallery that pulls from a SharePoint list (New Planning Workstream Summary_1) with a number of fields, one of which is Workstream.  When a user clicks on a particular workstream, they're directed to a second screen that serves up all the details of that particular workstream.  On this screen is another Gallery called decisionGallery.  This gallery is also connected to a SharePointList called Critical Decision Log.  It includes a field called Workstream as well.  Workstream in both lists is a choice field (Dropdown).

 

I'm trying to get decisionGallery filtered based on the Workstream selected on the first screen in the summaryGallery.  However, no matter what I try I can't get results back and am mostly getting an "invalid argument type" error on the "=".  

 

I've tried:

Filter('Critical Decision Log', Workstream = summaryGallery.Selected.Workstream)

Filter('Critical Decision Log', Workstream = summaryGallery.Selected.Workstream.Value)

Filter('Critical Decision Log', Workstream = summaryGallery.Selected.Title7)  (where Title7 is the name of the label box holding the workstream)

Filter('Critical Decision Log',Workstream=summaryGallery.Selected.Title7.Text)

 

Any ideas on what could be causing the error and how to fix it?  Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Mike8 Profile Picture
    1,330 on at
    Hello, Can you try Filter('Critical Decision Log', Workstream.Value = summaryGallery.Selected.Workstream.Value) ?
  • bhstepp Profile Picture
    5 on at
    Thanks - that helped. I'm not getting the invalid argument type error now, but I am getting a delegation warning at the first .Value Filter('Critical Decision Log', Workstream.Value = summaryGallery.Selected.Workstream.Value) I don't have much data in the list yet so it appears to be working, but I'm worried about issues if the list grows too large. Thoughts?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard