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:
which returns error.
Is there any other way on getting this done?
Thank you in advanced.
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.
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.
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?
Distinct(Filter(Table1, Status="Returned"), Equipment)
will still showing Notebook1 and Notebook3 within the selection list.
Thank you, and sorry for the trouble
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand