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 / Multiple Filtration fo...
Power Apps
Unanswered

Multiple Filtration for one Gallery

(0) ShareShare
ReportReport
Posted on by 71

Hello, i have a gallery that already has the following filtration 

SortByColumns(Filter([@'DLV Master Purchase Request'],AccountingStatus.Value = "Approved" || FinalApprovalStatus.Value = "Approved"),"Created",Descending)

 

i would like to add a combo box to filter the gallery ontop of the filteration that already exists 

this is the item value for the combobox

combobox item: ('DLV Master Purchase Request'.PRNumber)

combobox name: prname_combobox

 

gallery name: approvedGallery

 

i would appreciate any help i can get 

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @aoghelian 

    With(
     {fltrd:SortByColumns(
     Filter([@'DLV Master Purchase Request'],AccountingStatus.Value = 
     "Approved" || 
     FinalApprovalStatus.Value = "Approved"
     ),"Created",Descending
     )
     },
    	Filter(
     fltrd, PRNumber = prname_combobox.Selected.PRNumber
     )
    )
  • aoghelian Profile Picture
    71 on at

    Thank you so much!! anyway we can make it either or. just in case if the combobox is empty it should show the original filtration which is 

    SortByColumns(Filter([@'DLV Master Purchase Request'],AccountingStatus.Value = "Approved" || FinalApprovalStatus.Value = "Approved"),"Created",Descending)

    really appreciate it

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @aoghelian 

    If you replace the Filter statement that follows the } in my formula, with

    Coalesce(
     Filter(
     fltrd, PRNumber = prname_combobox.Selected.PRNumber
     ),fltrd
    )

    If the combobox selected value is 0 or empty, then the gallery should revert to your original filter, now aliased as fltrd.  If an item is chosen in your combobox, then it will be used to filter your original filter. 

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard