cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Power APP-cascade drop-down from lookup list

I have a Sales Sharepoint List which has two choice column(dropdown) Project and PID, both are lookup column(Single select) and data is coming from another List named as "Project Information" having column Project name and Project ID, In this List Project name can have multiple Project ID like in attached image "Project Information.PNG"  where Project 1 is having two Id's, 8808 or 9909. 

 

Now I have created power app and inserted edit form and bind it with Sales List in Power APP(Sales List custom Power APP) now if a user selects any project name (it should be distinct) corresponding project ID options should be load in PID column so user can select any of the PID (if there are multiple), I have tried to bind items property in below way but this is showing all blank values in project dropdown (similar in attached image Project dropdown.PNG ) but if I select anything on same dropdown this is filtering data in PID dropdown and and after submit this form its saving the data in PID column but not for Project Column and 

 

Project dropdown -items -Distinct(Choices([@Sales].Project),Value).Result 

PID dropdown-items-Filter(Choices([@Sales].PID), Id in Filter('Project Information',Title=DataCardValue5.Selected.Result).ID)

 




2 REPLIES 2
Dual Super User II
Dual Super User II

Hi @vishalgoyal2472 

 

Can you try to set the configuration as:

Project Name Dropdown -> Items -> Distinct('Project Information','Project Name')

PID Dropdown -> Items -> Filter('Project Information', 'Project Name' = Dropdown1.Selected.Result).'Project ID'

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

@yashag2255 
Hope you asked to set the configuration as below?

 

Can you try to set the configuration as:

Project Dropdown -> Items -> Distinct('Project Information','Project Name')

PID Dropdown -> Items -> Filter('Project Information', 'Project Name' = Dropdown1.Selected.Result).'Project ID'


I tried to use Distinct('Project Information',Project Name) but its not showing any data in dropdown, my power app consist Sales List Edit form and both column Project and PID loaded from there and not added individually.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (62,796)