I have a table called TPS Regions. It houses a region like Chattanooga and an abbreviation column like CHA. I have another table called TPS Sites. It houses sites like A, B,C and also has a column for Region that is the abbreviation column from TPS Regions.
I have a dropdown on my power app that lists the full region name like Chattanooga. I have another drop down that should list all available sites in that region from the TPS Sites table. How do I filter by the abbreviated value for region? Only abbreviated value is present in TPS Sites table.
Something is not right then with that datasource.
Please put a Label on your screen and set the Text property to:
First, see if Abbreviation even shows as a hint after you type the period.
If NOT, then try to refresh your datasource. Still not...then remove the datasource and add it back in.
Okay, then we know the datasource is good. The DropDown should show it as an available value in the property pane. If not, first try removing (ctrl-x) the dropdown and then undo (ctrl-z) to bring it back. That will refresh the dropdown control.
Let's see if that gets us anywhere.
DropDowns have always been picky about their datasource items.
Change the Items to DropDownSample. Click on the DropDown to see that it has sample values.
Then change it back to 'TPS Regions'
So, is Dropdown 1 now working properly? Does it have it's values? And, more importantly, when you reference it with Dropdown1.Selected.Abbreviation (say on a label) - does Abbreviation show up now?
Both dropdowns are now working properly. I used your idea and changed it a little. I created a text input dependent on dropdown1 to display the abbreviation. Then I filtered dropdown2 based on the same abbreviation in the sites table. Working like a charm now. Thanks for your help.
Glad you got the results you needed. But, just for reference - there is no need to go through those interim steps to get those results, as what you are trying to do works very well. Something else is at play there that should be investigate, should time permit.
Post again if you run into issues.
Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.
Check out the new Power Platform Community Connections gallery!