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 / Fetch all contacts of ...
Power Apps
Suggested Answer

Fetch all contacts of related accounts in combobox dropdown

(0) ShareShare
ReportReport
Posted on by 28
I have a combobox which is a multiselect field showing all account name from Table Accounts.
 
I need to autopopulate another combobox called Contacts which should get data from all contacts of Selected accounts. May i know how to achieve this?
 
Accounts Combobox Items Property
Choices([@Appointments].Account_Appointment)
I have the same question (0)
  • Suggested answer
    MParikh Profile Picture
    378 Super User 2026 Season 1 on at

    You need to cascade the selection from Accounts to Contacts. Here's how to populate the Contacts combobox based on selected accounts.

    Add this to the Contacts combobox Items property:
      
    Filter(
        Contacts,
        'Account' in AccountCombobox.SelectedItems.Account_Appointment
    )
    This assumes: 
    • Your Accounts combobox is named AccountCombobox
    • The Contacts table has a lookup field named Account pointing to the Accounts table
    • The relationship between Contacts and Accounts exists in Dataverse  
    If the relationship uses a different field name, adjust the formula. Check your Contacts table schema to see what the lookup column is called (often parentcustomerid or similar).
     
    For multiple selected accounts, you need a different approach:
     
     
     
    Filter(
        Contacts,
        'Account' in AccountCombobox.SelectedItems
    )
    If you're getting blank results, the relationship field name might be wrong. Try this diagnostic: 
    1. Add a label with CountRows(Contacts) to verify Contacts data loads
    2. Add another label with CountRows(AccountCombobox.SelectedItems) to confirm selections register
    3. Check the Contacts table in Dataverse to see the exact lookup field name  
    OnChange event for AccountCombobox:
     
    Add this to refresh the Contacts dropdown when accounts change: 
     
     
    Reset(ContactsCombobox)
    This clears any previous Contact selections when users change their Account selection.
     
    Alternative using Concat for debugging:
     
    If the filter isn't working, test with: 
     
     
    Filter( Contacts, 'Account'.Account_Appointment in Concat(AccountCombobox.SelectedItems, Account_Appointment, ",") )
     

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
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard