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 / Nested Filter in a dro...
Power Apps
Answered

Nested Filter in a drop-down based on values from 2 tables

(0) ShareShare
ReportReport
Posted on by 9

Hi experts, 

 

I am having difficulties on a most likely easy nested filter question I cannot find the solution.

 

I have a dropdown that should provide a list of dates based on data from 2 tables with a 1:n relationship:

 

Table 1 - tbl_Meetings 

ID (1)

MeetingDate

Table 2 - tbl_Project_Updates

ID

MeetingID (many)

 

For some Project Updates a meeting (ID) is referenced in field MeetingID in table tbl_Project_Updates.

 

In the dropdown I only want to show the meeting dates from table tbl_Meetings where MeetingID is not blank() in table tbl_Project_Updates.

 

Filter 1: It is essentially clear how to filter the records from tbl_Project_Updates where an entry was made in column MeetingID.

Filter(tbl_Project_Updates, MeetingID <> Blank())

 

However, I am not able to relate the table created in the first filter to the tbl_Meetings and show the meeting dates in the dropdown where the MeetingID from tbl_Project_Updates matches the ID from tbl_Meetings.

 

I am sure there the community will have a solution quickly.

Unfortunately, searching the previous posts did not help me either.

Thank you in advance.

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @ChrisFromGufi 

    AddColumns(GroupBy(tbl_Project_Updates,MeetingID),"mdate",LookUp(tbl_Meetings,ID=MeetingID).MeetingDate)

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @ChrisFromGufi 

    AddColumns( 
     GroupBy(
     tbl_Project_Updates,MeetingID
     ),"mdate",LookUp(tbl_Meetings,ID=MeetingID).MeetingDate
    )
  • Verified answer
    ChrisFromGufi Profile Picture
    9 on at

    Hi @Drrickryp,

     

    Thank you a lot, this was a great help. Your formula was a great basis to get to the final working code

     

    The working code actually is:

     

    -----------------------

    Sort(

        Filter(

            AddColumns(

                GroupBy(

                    tbl_Project_Updates,

                    "MeetingID",

                    "Rest"

                ),

                "mdate",

                LookUp(

                    tbl_Meetings,

                    ID = MeetingID

                ). MeetingDate

            ),

            !IsBlank(mdate)

        ),

        mdate,

        Descending

    )

    -----------------------

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

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard