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 / Cascading Dropdown - 3...
Power Apps
Answered

Cascading Dropdown - 3 lists - IT WON'T WORK

(0) ShareShare
ReportReport
Posted on by 27

Hello everyone,

 

i'm desperate. I've watched all YT videos and felt 100 blog entries about cascading dropdown, but so far I haven't found a solution to my problem.

 

That's my scenario:
3 Lists:


Firmen(column Firmenname -> single line)
Ansprechpartner(column Firma -> Lookup -> List Companies to column Firmenname)
Tickets (column Kunde -> Lookup -> List Firmen to column Firmenname and column Ansprechpartner -> Lookup -> List Ansprechpartner to column Email-Adresse)

 

I added all three Lists as Data-Source.

 

Based on the selection of the first dropdown, the second dropdown is to be filtered.

On the Second Screenshot you can see the Filter. But it dont works. 

I tried many variations but nothing worked.

I hope you can help me!

 

1.JPG2.JPG

Categories:
I have the same question (0)
  • JRaasumaa Profile Picture
    1,325 on at

    @Lon wrote:

    Hello everyone,

     

    i'm desperate. I've watched all YT videos and felt 100 blog entries about cascading dropdown, but so far I haven't found a solution to my problem.

     

    That's my scenario:
    3 Lists:


    Firmen(column Firmenname -> single line)
    Ansprechpartner(column Firma -> Lookup -> List Companies to column Firmenname)
    Tickets (column Kunde -> Lookup -> List Firmen to column Firmenname and column Ansprechpartner -> Lookup -> List Ansprechpartner to column Email-Adresse)

     

    I added all three Lists as Data-Source.

     

    Based on the selection of the first dropdown, the second dropdown is to be filtered.

    On the Second Screenshot you can see the Filter. But it dont works. 

    I tried many variations but nothing worked.

    I hope you can help me!

     

     


     

    Could you simply filter the second collection using the 1st selected dropdown item instead of the datacard value? Your code shows the filter looking to DataCardValueCustomer.Selected.Id when it could simply say DropDown.Selected.Value

     

    So in your second dropdown put in the "Items" property of the dropdown:

     

    Filter(Ansprechpartner; Firma.Id = DropDown1.Selected.Value)

     

    Then select the appropriate "Value" of the second dropdown to show the data you want displayed.

     

    For example:

     

    I have a collection Quotes with 2 columns, QuoteNumber and Year.

     

    DropDown1 has property "Item" = Quotes and "Value" = Year

     

    DropDown2 has property "Item" = Filter(Quotes,Year=Dropdown1.Selected.Value) and "Value" = QuoteNumber

     

     

     

     

  • Lon Profile Picture
    27 on at

    Thanks for the Answer!

     

    I tested your solution but when i filter like this, it says that there are diferent data-types. On the left site its number (Firma.id) and on the right its text(DropDown1.selectec.value).

    So it doesnt work.

  • JRaasumaa Profile Picture
    1,325 on at

    @Lon wrote:

    Thanks for the Answer!

     

    I tested your solution but when i filter like this, it says that there are diferent data-types. On the left site its number (Firma.id) and on the right its text(DropDown1.selectec.value).

    So it doesnt work.


     

    You can always force the text side to be a numeric value by enclosing it with Value()

  • Lon Profile Picture
    27 on at

    Now i got this message: "Warning on delegation. The "filter" part of this formula may not work properly for large datasets. The data source may not be able to process the formula and may return an incomplete dataset. Your application may not return correct results or may not behave properly if the dataset is incomplete."

     

    see attechments.

     

     

    When i click my seccond dropdown, i get no data.
    3.JPG
  • JRaasumaa Profile Picture
    1,325 on at

    @Lon wrote:

    Now i got this message: "Warning on delegation. The "filter" part of this formula may not work properly for large datasets. The data source may not be able to process the formula and may return an incomplete dataset. Your application may not return correct results or may not behave properly if the dataset is incomplete."

     

    see attechments.

     

     

    When i click my seccond dropdown, i get no data.

     

    You may have to change your dropdown Item property to point to a Collection instead of using the data source directly.

     

    You can setup the dropdown "On Change" property to ClearCollect distinct values from your data source using the Filter you show to gather just the data required for your dropdown list.

     

    See my post linked below for an example of how to load distinct values into a collection, in this case I also collect the word "All" to allow for seeing all values. 

     

    https://powerusers.microsoft.com/t5/General-Discussion/Dropdown-list-with-distinct-values-and-option-for-quot-All-quot/m-p/65591#M26948

     

    Hopefully this is a good starting point for you.

  • Lon Profile Picture
    27 on at

    Thanks JRaasumaa!

     

    i tried to add the two data "Ansprechpartner" and "Kunde" in a collection, so i have all the data i need in one collection. Then i want to filter and patch the data to the list back.

     

    But it doesnt work.

    This is really frustrating...

  • Verified answer
    Lon Profile Picture
    27 on at

    Finally i found a sollution!

    Everytime i tried the Filter with the default datacard which is created by adding the datafield from sharepoint dataset. But with this datacard the filter is not working.

     

    Anyway, i have added a dropdown field independently from the dataset and added following line in "Text-properties":

    Filter(Ansprechpartner; Firma.Value = DataCardValueCustomer.Selected.Value)

    The Filter works now. But it is said that with large datasets the filtering may not work properly.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard