Capture 1
Hi all,
Lets say I have data in excel table as picture "Capture 1" above. I would like to create a dropdown list which:
Which mean for this case the dropdown should show:
The way i figured out was to get list of "Loaned out" Equipment, then filter the filtered "Loaned out" list from entire "Equipment"
I've tried this:
Distinct(Filter(Table1,Distinct(Filter(Table1,Status="Loaned out"),Equipment)),Equipment)
which returns error.
Is there any other way on getting this done?
Thank you in advanced.
This worked for me with a similar problem I was having, so thank you!
Hi Mabel Mao,
First of all, would like to thank you for your reply.
Please allow me to clarify my situation. The usage of my App is for IT equipment loaning. which user can check which equipment is available, and book it.
Capture 1
Refering back to my table, I can actually hard code the status. Understand that:
Distinct(Filter(Table1, Status="Loaned out"), Equipment)
Can return result listing below in red:
Lets Call the results in red "List A".
Just because they're being "Loaned out", means they are no longer available, so I don't wish them to be listed within the dropdown.
So is there any way to get DropDown to list "Returned" Equipments with result in "List A" excluded?
As:
Distinct(Filter(Table1, Status="Returned"), Equipment)
will still showing Notebook1 and Notebook3 within the selection list.
Thank you, and sorry for the trouble
Hi Chongzh86,
I have created a similar Excel table with you. A screenshot looks like below:
Then I created an app based on this table. Hope my steps could be a reference for you:
1. Add a connection from PowerApps to Excel table
2. Add Drop down control1, set its Items property as: Distinct(Table1,Status)
3. Add Drop down control2, set its Items property as: Distinct(Filter(Table1,Status=Dropdow1.Selected.Value),Equipment)
4. Then when I select the status “LoanedOut” on Drop down1, all the relevant equipment will be shown on Drop down2.
Please feel free reply if you need more help.
Best regards,
Mabel Mao
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1