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 how...
Power Apps
Answered

Cascading Dropdown how to FILTER

(0) ShareShare
ReportReport
Posted on by 45

Hi,

 

I have a few dropdowns i would like to get to cascading and would appreciate a little help please.  These dropdowns are populated from a SharePoint list.  

 

Group(PARENT) - Items:  RenameColumns(Distinct(Choices([@SPLIST].'Group'),Value),"Result", "Value")

Owner(CHILD) -   Items:  RenameColumns(Distinct(Choices([@SPLIST].'Group'),Value),"Result", "Value")

Name(CHILD) -    Items:  RenameColumns(Distinct(Choices([@SPLIST].'Group'),Value),"Result", "Value")

 

ive been trying to setup the FILTER but im just not sure how to do it.  Any help would be appreciated.  Thank you in advance

 

 

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

    @cnorris3570 

    Your formulas on the three dropdowns are all the same.  What is it that you are trying to accomplish?  
    Is your 'Group' column a choice column or a lookup column?

  • cnorris3570 Profile Picture
    45 on at

    im sorry for that..... i meant to put

     

    Group(PARENT) - Items:  RenameColumns(Distinct(Choices([@SPLIST].'Group'),Value),"Result", "Value")

    Owner(CHILD) -   Items:  RenameColumns(Distinct(Choices([@SPLIST].'Owner'),Value),"Result", "Value")

    Name(CHILD) -    Items:  RenameColumns(Distinct(Choices([@SPLIST].'Name'),Value),"Result", "Value")

    All three of these fields are lookups that reference from two tables....

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

    @cnorris3570 

    Thanks...that is a little better!

    However, I am still not sure what it is that you want to cascade in this case.  What is your SPLIST column logic that you want to cascade?

    Is the cascade -> Every Group has Owner(s) and every Owner has Name(s)?

  • cnorris3570 Profile Picture
    45 on at

    thank you for your prompt response today.   The user:

    1.) Selects the Group name.  This will filter the Owner dropdown
    2.) from the User selects the Owner.  This will filter the Name field........

    so its like stepping thru fields .....  Group > then Owner > then Name..........

    yes you are correct.  Im sorry.  All three of these fields comes from ONE table.    There is a Group column, Owner column, and Name column.  

  • cnorris3570 Profile Picture
    45 on at

    Hi sir.... do you have any ideas on this one on how to apply the filter?

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

    @cnorris3570 

    So to be clear though...ALL of the columns you are mentioning (group, owner, name) are all Lookup columns in your list?  AND, do they all lookup into different lists in your datasources?

  • cnorris3570 Profile Picture
    45 on at

    hi

     

    i have a reference SPlist.  Group, Owner, and Name are in it.  these columns are populated with several rows of data.

    i have the MAIN SPlist that the PowerApps will submit to.  In this list i created three dropdowns (Group, Owner, and Name) which are lookups to the reference list.   When the user completes the form, they will submit to this MAIN list.  

    so to answer you questions, YES the three columns in my MAIN form are lookups to the reference list.  Just one datasource (reference list).  I hope i explained this better and i appreciate your responses.

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

    @cnorris3570 

    Sort of!  There are some complexities with what you are doing.  If your reference list has the values, then why three lookup columns in your main list?  If they are lookups to the reference list, then wouldn't they all be the same lookup value?

     

  • cnorris3570 Profile Picture
    45 on at

    well i will try to explain the best way i can.   1.) the columns have lots of duplicates meanining

     

    Group       Owner     Name    Manager    Resource

     

    AAA           Joe          Jim           April        Tech 1

    AAA           Joe          Chris        Bob          Tech 2

    AAA           Bob         Jason       Don         Tech 2

    B               Susan       Jason        Don        Tech 1

    C                April        Susan       Chris       Tech 2

     

    it was my thinking that i would need dropdown list to filter From Group >Owner then > Name.....it seems that this may not be the best way?  I used the Distinct but maybe i shouldnt have used it on the children...  the above is a sample data set, but the concept is the same......


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

    @cnorris3570 

    Yes, the grouping of the data is quite easy (and you would not want Distinct for this), but the issue was your result.  If you are trying to use the dropdowns to then set lookup columns - wouldn't they all be the same?

     

    Let's put the cascade to rest now...

    The formulas for your dropdowns should be the following:

    Group(PARENT) - Items:  GroupBy(SPLIST, "Group", "_groups") 

    Owner(CHILD) -   Items:  GroupBy(groupDropdown.Selected._groups, "Owner", "_owners")

    Name(CHILD) -    Items:  ownerDropdown.Selected._owners

     

    This will perform the data actions only once and will cascade your dropdowns based on selections.

     

    But the lookup reference for your main list is still perplexing me as to what you are trying to put in them.

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard