How do I reference a data table based upon a previous drop down?
I have one table which is the master set of data ie Choice 1, Choice 2, Choice 3, when I select one of them, I want it to be able to look up the next table and only give the options for that table.
Each one is it's own table.
|Choices||Choice 1||Choice 2||Choice 3|
Solved! Go to Solution.
Doing that gave the same error as before.
However, there is more than 2 tables to choose from and it doesn't allow nested ifs. I need to be able to choose from 4+ tables
Hi @SunnyJess ,
This makes no sense to me why the original did not work (actually sort of worked but with warning error) and why the below works, but it does (another anomaly in PowerApps code I guess).
Switch( Dropdown1.Selected.'Site (Site)', "BNO", Distinct( BNO, 'BNO (BNO)' ), "MGR", Distinct( MGR, 'MNR (MNR)' ), "YourThirdChoice", Distinct( YourThirdList, YourThirdField ), "YourFourthChoice", Distinct( YourFourthList, YourFourthField ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.