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 / How to filter dropdown...
Power Apps
Unanswered

How to filter dropdown(collection) on regarding field

(0) ShareShare
ReportReport
Posted on by 1,510

Hi,

 

I have taken two drop-downs. one for accounts and another for appointments. Now, I want to display all the appointment(related to selected account in regarding field) of selected account in first dropdown.

 

 

 

Screenshot (64).png
Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Try

    Filter (Datasource,Column=dropdown1.Selected.Value)

     

    Showing the Items on the dropdown Will help

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

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • mdevaney Profile Picture
    29,991 Moderator on at

    @hardikv 

    There's no information here about where your data is coming from or what formulas you used so far so I had to take a few guesses.  Please provide any relevant info.

     

    Distinct(Filter(your_datasource_name, Accounts = Dropdown_Accounts.Selected.Value), Appointments)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • H V Profile Picture
    1,510 on at

    Hi,

     

    I'm using CDS data source for both entity(Account & Appointment). 

     

    I have put below code on 'items' property for Appointment, but it doesn't work.

     

    Filter (Appointments,Regarding = Dropdown1.Selected.Value)

     

     

  • eka24 Profile Picture
    20,925 on at

    If you try the solution by @mdevaney  and still have issues, show the items property of the two Dropdowns

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

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@dynamics-power,

     

    Based on the issue you mentioned, you want to display appointments of selected accounts.

     

    Considering you use CDS data source for both entities (Account & Appointment), let me explain that Regarding fields is a special type which is a Customer LookUp field. It can refer to a record from either Account or Appointment.

     

    Therefore, please share more about your "Regarding" and what is your relationship in it.

     

    Here is an article you can check for details about regarding field:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-references

     

    Best Regards,

    Qi Qiao

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