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 on Comb...
Power Apps
Answered

Filter Gallery on ComboBox Lookup Field and Dropdown List

(0) ShareShare
ReportReport
Posted on by 83

I have two Sharepoint Lists:

1. Employees  - text column (Name) that lists all employees

2. Weekly Updates - has a lookup column (NameLookup) that gets information from the Name column in the Employees list

 

I have a ComboBox so employees can choose their name from the Employees list. I also have a dropdown box so once an employee chooses their name from the ComboBox, they can select a date from the dropdown based on the Submission Date column from the Weekly Updates list. Here's what I have:

 

ComboBox

Items = Sort('Employees',Name)

 

DropDown

Items = Sort('Weekly Updates', 'Submission Date')

 

Gallery Filter

I've tried several scenarios and nothing has worked. What should this look like that will populate the gallery fields - which are four columns of multiline text from the Weekly Updates (column names Accomplishments, Projects, Problems, Inform) based on the Submission Date from the Weekly Updates chosen in the dropdown?

 

Thank you!!!

Categories:
I have the same question (0)
  • mgrachii Profile Picture
    206 on at

    hi there, is submission date field a "date" fieldor a text field?

  • ttaylor4125 Profile Picture
    83 on at

    It's a date field. Sorry I didn't clarify earlier.

  • mgrachii Profile Picture
    206 on at

    Have you considered using a date picker control instead of a dropdown?

  • ttaylor4125 Profile Picture
    83 on at

    I was using the dropdown to show the employees all the reports they submitted by date so they could choose which past report they wanted to view.

  • mgrachii Profile Picture
    206 on at

    got it, have you tried something like this:

    Filter('Referrals Data',[ColumnName] = DateValue({DropdownControlName}.SelectedText.Value) )

  • ttaylor4125 Profile Picture
    83 on at

    Sorry, that didn't work. 

  • WarrenBelz Profile Picture
    154,399 Most Valuable Professional on at

    @mgrachii  is on the right track. Also please specify what "does not work" (error/no result/wrong result).

    Filter(
     AddColumns(
     'Weekly Updates',
     "EmpName",
     NameLookup.Value
     ),
     'Submission Date' = DateValue(DropdownDateName.Selected.'Submission Date') &&
     EmpName = DropDownEmployeeName.Selected.Name
    )

    You may have to replace some of the names if they are not exactly what you have.
    Two pieces of advice - throw away the Lookup column - you do not need them in Power Apps (this blog of mine may be useful to you) and Name is a bad title for a field.
    Also none of that is Delegable and will not work on lists over your (500-2,000) Delegation limit.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • ttaylor4125 Profile Picture
    83 on at

    Thank you! Your blog was VERY helpful. I couldn't figure out a better way with hundreds of employees. 

     

    I just tried your suggestion on for filtering the gallery. It doesn't like the '.Submission Date' after selected: "...Selected.'Submission Date". Do you know why?

    'Submission Date' = DateValue(DropdownDateName.Selected.'Submission Date') &&
     EmpName = DropDownEmployeeName.Selected.Name

     

  • WarrenBelz Profile Picture
    154,399 Most Valuable Professional on at

    @ttaylor4125 ,

    If the Items of the drop-down are

    Sort('Weekly Updates', 'Submission Date')

    then that code should be valid - can you check this? Also what format does the date display in?

  • ttaylor4125 Profile Picture
    83 on at

    Items is Sort('Weekly Updates', 'Submission Date'). And the list column is a Date and Time, Date Only, Standard Format, Default Value is Today's date.

     

    Thanks for getting back with me so quickly and for all your help. I really appreciate it. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard