cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vishalgoyal2472
Level: Powered On

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
Dual Super User

Re: Power APP-cascade drop-down from lookup list

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!

vishalgoyal2472
Level: Powered On

Re: Power APP-cascade drop-down from lookup list

@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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,159)