cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahhollan
Post Patron
Post Patron

cascading dropdown complexity

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.

 

thanks.

19 REPLIES 19

only Region appears.  The Abbreviation column is a single line of text in the list. It is a SharePoint list.

@ahhollan 

Something is not right then with that datasource.

Please put a Label on your screen and set the Text property to:

   First('TPS Regions').Abbreviation

 

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.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

The label works and shows the value of the Abbreviation. 

@ahhollan 

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.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Now, when I click on the dropdown it is clickable, but doesn't show a list of choices. It just remains a blank dropdown.

@ahhollan 

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'

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Sample values were showing when i changed it.  I changed it back and still no values showing in dropdown 2.

@ahhollan 

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?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

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.

@ahhollan 

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.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,359)