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 / Creating cascading Dro...
Power Apps
Answered

Creating cascading Dropdowns using a static table and NOT a sharepoint list?

(0) ShareShare
ReportReport
Posted on by 23

Hello All,

 

I have a situation I can't seem to get working right. I have an edit form that is pulling from a static excel table (table1) that I imported. I used this important rather than a sharepoint list because it contains more than 2,000 records and encountered issues with delegation when pulling options for the combobox dropdown. So now that I have a static list, delegation issues have been resovled, however, now I cannot figure out how to get a second combobox dependent on values in the first.

 

So in combobox1 I have the following formula

 

Items = Distinct(SortByColumns(Filter([@Table1], StartsWith(Part_Num, TextSearchBox1.Text)), "Part_Num"), Part_Num)

 

This give users a choice of part numbers to select.

 

Combobox2 allows users to choose a mold number. However, I only want molds listed that actually create the parts from Combobox1. So for example if a user selects Part Number 100000, and only 2/1200 molds run part number 100000 only those two mold number should appear as choices.

 

Currently my formula for combobox2 is as follows:

 

Items = Distinct(SortByColumns(Filter([@Table1], StartsWith(Mold_Num, TextSearchBox1.Text)), "Mold_Num"), Mold_Num)

 

For a sharepoint list I could simply append , Result = ComboBox1.Selected.Result) to this formula to get the correct filter. However, this does not seem to work on static lists. Is there a way I can modify the formula to still get my results filtered correctly?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @AcesOverPacific ,

     If ComboBox1 Items is this

    Distinct(
     SortByColumns(
     Filter(
     [@Table1], 
     StartsWith(
     Part_Num, 
     TextSearchBox1.Text
     )
     ),
     "Part_Num"
     ), 
     Part_Num
    )

    Try this on the second one Items - you also need to specify the column in the table you are filtering.

    Distinct(
     SortByColumns(
     Filter(
     [@Table1], 
     StartsWith(
     Mold_Num, 
     TextSearchBox1.Text
     ) &&
     Part_Num=ComboBox1.Selected.Result
     ), 
     "Mold_Num"
     ), 
     Mold_Num
    )

     

    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.

     

  • AcesOverPacific Profile Picture
    23 on at

    While the formula you suggest is accepted by program, it still does not filter results, instead it still lists all results without any filtering based on the first combobox result.

  • AcesOverPacific Profile Picture
    23 on at

    Okay, nevermind after playing with the formula I did get it to work by pointing to the correct column. Thank you!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard