web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Setting up cascading D...
Power Apps
Unanswered

Setting up cascading Dropdowns using multiple values

(0) ShareShare
ReportReport
Posted on by 782

I have 2 Dropdowns and each uses its own SharePoint list. The first displays 3 values. The 2nd Dropdown should be based on the value selected in the first Dropdown, with the addition of making sure the "Enabled" field in the SharePoint List the 2nd Dropdown uses, is set to "Yes". Here is my function:

 

Filter(Available_DivisionChair,School=dd_DataCardValue1.Selected.School && Enabled="Yes")

 

It seems to be returning no value. If I remove the && Enabled="Yes", it returns all of the rows in the SharePoint list, but I get the Enabled, as well as the disabled ones and I don't want the disabled ones.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Greg27 

    Is Enabled a text column or a Yes/No column?  If Yes/No, then remove the ="Yes" part of your formula.

     

    I hope this is helpful for you.

  • Greg27 Profile Picture
    782 on at

    @RandyHayes 

    Hi Randy,

    Enabled is a set as a Single line of text.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Greg27 

    What do you get when you change the formula to just isolate the Enabled column?

    i.e.  Filter(Available_DivisionChair, Enabled="Yes")

     

    How about letter case?  Is "Yes" really uppercase Y? Or is it "yes"?

     

    Also, if there is any space padding issues, consider the following:

    Filter(Available_DivisionChair,School=dd_DataCardValue1.Selected.School && StartsWith(Enabled, "Yes"))
  • Greg27 Profile Picture
    782 on at

    @RandyHayes 

    If I change the function to:

     

    Filter(Available_DivisionChair,Enabled="Yes")

     

    I still get nothing in the Dropdown.

     

    All of the Yes and No values begin with a capitol letter. Here is a screenshot:

     

    Greg27_2-1648220184099.png

     

    I tried your function above and it still returned nothing. Here is also proof that my field "Enabled" is actually a Single line of text:

     

    Greg27_3-1648220347153.png

     

    I did limit it to a maximum of 3 characters

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Greg27 

    Then the formula should be working from what I see.

    Have you happened to make any changes to the list (i.e. changing the field type or character length) after you added the list to your app?  If so, make sure you are doing a refresh on the datasource in the designer.

    As a last-ditch effort, you can also try to remove the datasource and add it back.

    And as a real desparate attempt, create another dropdown control with the same Items formula - in case the dropdown has some how gotten confused.

  • Greg27 Profile Picture
    782 on at

    @RandyHayes 

    That's what I thought. Not sure if this helps, but I have another question open because I had another issue with the same app, where I added a form and connected the same SharePoint List to it, had the form mode set to New, but when I ran it, the fields disappeared and said no data was available. Kind of like the form mode was Edit. So I deleted that form, added a new form and added the fields again as I couldn't figure out why it was treating the form like I was editing. Since things just seem to be acting weird with this app, I decided to delete the app and recreate it and see if the problem goes away. I will let you know.

  • Greg27 Profile Picture
    782 on at

    @RandyHayes 

    I ended up deleting the app, waiting a day, and recreating it. I am no longer having the problem. Any suggestions on how to handle a solution on this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard