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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Gallery based o...
Power Apps
Unanswered

Filter Gallery based on ThisItem. Created by from another gallery

(0) ShareShare
ReportReport
Posted on by

Hello,

i want to filter a gallery based on a selected 2nd gallery. The filtered gallery should only show the current selected.'Created by' items from the first gallery.

 

A example:

 

Gallery 1 selected 'Created by' = Sam Samuel

Gallery 2 only show filtered items  "Sam Samuel"

 

 

Categories:
I have the same question (0)
  • Kosenurm Profile Picture
    802 on at

    Hi,

     

    I would approach this by creating collections of the data you want to filter, and then using the collections as the Items for the galleries, and apply your filters to the collections.

     

    Let me know if you'd like to see an example as I am doing similar in a canvas app at the moment. 

     

    K.

  • Community Power Platform Member Profile Picture
    on at

    Hello, yes ofc i highly appreciate any ideas how to solve this!

     

    Thank You,

    T.

  • Kosenurm Profile Picture
    802 on at

    So, in my case, I am creating a collection from previously input values by the user into the app on load of the below screen.

     

    The first gallery is filtering this collection as below

    Gallery one.png

     

    The second gallery which, in my case, is hidden from the user, is filtering the same collection to other parameters.

     

    gallery two.png

     

    What you could do is get all your data into a collection OnVisible of the page where your galleries are, and then apply your filters to the collections in the galleries as above. 

     

    Thanks

    K.

  • Verified answer
    Sanshubh Profile Picture
    512 on at

    @Anonymous 

    write this on gallary2's Item Property

     

    Filter(Datasource,Gallery1.Selected."Created by".Email="Created by".Email)

     

     Write Table/List name at datasource.

  • Community Power Platform Member Profile Picture
    on at

    i used this formula before but it shows all entries to me...thats the reason why im asking here...

     

    Sort(Filter(colTableRequests, Requ_Gallery.Selected.'Created By' = 'Created By'), ID, Descending)

  • Verified answer
    Sanshubh Profile Picture
    512 on at

    Now check this.
    This is working Bro.

    Did you select any item from gallery1??

  • Community Power Platform Member Profile Picture
    on at

    Got it!

     

    i used this formula.

     

    Filter(colTableRequests, Requ_Gallery.Selected.'Erstellt von'.'Vollständiger Name' ='Erstellt von'.'Vollständiger Name')

  • Sanshubh Profile Picture
    512 on at

    Yes bro 🤙

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard