cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jesslynh
Resolver I
Resolver I

Filter Combobox lookup

I have two tables.  One is a custom table that has a Username lookup to the AADUser table in Dataverse.

 

In the gallery that I'm showing to the users, I'd like them to be able to search for a user's item, but only for users that already have records in the list. I don't want to include every user in the AAD User table.

I cannot seem to get a formula that filters my combobox.

Note the combobox is not multi-select. Any and all help appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
dpoggemann
Super User
Super User

Hi @jesslynh 

 

I just did a test on this and setup the 'AAD User' column on my Device Orders table.  I then populated the rows so I had duplicate AAD User values in multiple rows to verify I can get the unique list.

 

I then created a Power App that has a Button that will do the following:

ClearCollect(users,Distinct('Device Orders','AAD User'.'Display Name'))

and I then had a drop down box that displays the following:

users.Result

This worked for me to display the unique list of the AAD Users from the Device Orders table.

 

Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew

View solution in original post

1 REPLY 1
dpoggemann
Super User
Super User

Hi @jesslynh 

 

I just did a test on this and setup the 'AAD User' column on my Device Orders table.  I then populated the rows so I had duplicate AAD User values in multiple rows to verify I can get the unique list.

 

I then created a Power App that has a Button that will do the following:

ClearCollect(users,Distinct('Device Orders','AAD User'.'Display Name'))

and I then had a drop down box that displays the following:

users.Result

This worked for me to display the unique list of the AAD Users from the Device Orders table.

 

Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,025)