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 with Table
Power Apps
Answered

Filter Gallery with Table

(0) ShareShare
ReportReport
Posted on by 12

Hello,

 

I have a Gallery based on a source A.

I am looking to filter this Gallery for all the results coming from another Filter on SourceB.

 

Something like:

Filter(Source A, ContentId=Filter(SourceB,LinkedId="asda1231312fsdt4565464").ContentId)

 

I tried with Lookup but it returns only one row, hence getting 1 result. There could be multiple rows from Filter on Source B and I want to show corresponding results from Source A.

 

Currently getting incompatible types error, which I understand, but not able to figure out how to pass all the values from Source B Filter into Source A Filter.

 

Any suggestions?

 

Thanks,

Vaibhav

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @vaibhav15211 ,

     

    Please try this:
    Filter(Source A, ContentId in Filter(SourceB,LinkedId="asda1231312fsdt4565464").ContentId)

     

    Best Regards,

    Wearsky

  • vaibhav15211 Profile Picture
    12 on at

    Hey, Thanks for the quick reply.

    The Filter(Source B......) doesn't allow ".ContentId" to be appended at the end.

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @vaibhav15211 ,

     

    What's the data type of ContentId?

     

    Best Regards,

    Wearsky

  • vaibhav15211 Profile Picture
    12 on at

    Hey, I refreshed the Power App portal and it worked. Thanks a lot for your help.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard