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 / Add Filter on Gallery1...
Power Apps
Unanswered

Add Filter on Gallery1 and only show the filtered items on Gallery2 (Same List)

(0) ShareShare
ReportReport
Posted on by 29
I found some video on showing only the filtered or search result item on the same screen, but not different screen. I tried to apply the concept but fail, either the OnSelect or Arrow is not working.
 
I have MyList like this. Currently I have (Area, Country, Item) listed on BrowseScreen (Gallery2), and everything else on DetailScreen with
     Gallery2 OnSelect:  Navigate(DetailScreen, ScreenTransition.None)
     Arrow2 OnSelect: Select (Parent)
 
 
I want to build a HomeScreen (Gallery1), with
    Items: Distinct (MyList, Area.Value)
    OnSelect: Navigate(BrowseScreen,ScreenTransition.None,{SelectedArea : ThisItem.Value})
 
 
 
And Gallery2 will only show items within that Area (if I click LA)
 
 
It's not letting me select anything (so when clicking, the mouse does not turn into a hand, and nothing happen)
 
I can't use collection because there's a third screen (detail screen) need to be direct to after. 
 
I think the issue is more with Gallery1 (or Home Screen) because I can't click at all, not that Gallery2 is showing incorrect information. 
Not sure if I have a wrong OnSelect function, or I need put in something in Arrow1. Please help.
 
 
 
Thanks!
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,323 Super User 2025 Season 2 on at
    Hi,
     
    You talk about all these strings, but I see no pictures so I gave up
  • Kalel_Lucas Profile Picture
    165 on at
    Hello mumuyu202,
     
    If I understood correctly what you want, you can achieve a similar effect with the following idea:
    On your Gallery1's Arrow, you can put the following in the OnSelect property:
    Select(Parent);
    Navigate(BrowseScreen, ScreenTransition.Fade, {SelectedArea: ThisItem.Value})
     
    Afterwards, on your Gallery2's Items property, you can put the following code:
    Filter(MyData, Area = SelectedArea)
     
    This should show the correct data in your Gallery2.
     
    Hope it helps,
    Kalel
  • mumuyu202 Profile Picture
    29 on at
    Hi @Kalel, I still can't click the arrow. With all the code, is there a magic to make the arrow 'click-able'?
    Thanks!
  • Kalel_Lucas Profile Picture
    165 on at
    Hello mumuyu202,
     
    Could you check to see if there isn't another control on top of that Arrow that is simply transparent?
    Alternatively, you could check the Arrow's DisplayMode property and see if it is set to DisplayMode.Edit. If it isn't, please set it as such and check it if it works now.
     
    Kind regards,
    Kalel

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard