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 / Help keeping filter se...
Power Apps
Unanswered

Help keeping filter selections when moving between screens

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

I have an app that has an opening screen with a gallery driven from a sharepoint list. There are a number of filters, the most important being 'Owner'. Once the user has set the filter(s) the gallery is filtered to show only the relevant lines. 

 

The user then uses the arrow to go to the detailed page and complete the information needed.

 

The feedback I have had from users (which is fair) is that when they are returned to the selection screen they have to put all of the filters in again. Some of them have 50+ records so I can see how this would be annoying.

 

Is there a way I can 'set' the filters until the user presses a clear button? Would that effect other users of the app?, is there a better way to make this easier for the users?

 

I have added a couple of screenshots

 

The filters are Collection based and the search code for the gallery is:-

 

Search(If
//This is for all and all
(DD_Effective.Selected.Result ="All" And DD_Owner.Selected.Result = "All", 'ICQ Q1 FY22',
//This is for all Effectiveness and Selcted Owner
DD_Effective.Selected.Result ="All" And DD_Owner.Selected.Result <> "All", Filter('ICQ Q1 FY22',Owner.DisplayName = DD_Owner.Selected.Result),
//This is for selected Effectiveness and All Owners
DD_Effective.Selected.Result <> "All" And DD_Owner.Selected.Result = "All",
Filter('ICQ Q1 FY22','Effective this Qtr?'.Value = DD_Effective.Selected.Result),
//This is for seleteced Effectivess and selected owners
DD_Effective.Selected.Result <> "All" And DD_Owner.Selected.Result <> "All",
Filter('ICQ Q1 FY22','Effective this Qtr?'.Value = DD_Effective.Selected.Result And Owner.DisplayName = DD_Owner.Selected.Result)),
TextInput2.Text,"Title")

Annotation 2021-06-24 100025.jpg
Annotation 2021-06-24 100011.jpg
Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    One way to handle this is to put your Search function into a ClearCollect and save it into a collection:

     

    ClearCollect(colSavedSearch,
     Search( // put all your existing search terms here
     )
    );

    You can access that collection from any place in your app. Hope that helps!

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard