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

Power APP-cascade drop-down from lookup list not binding data

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)

 

 

 

 




1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Power APP-cascade drop-down from lookup list not binding data

Hi @vishalgoyal2472 ,

 

Please follow below steps to achieve this:

PID dropdown-items

 

Filter('Project Information',Title=DataCardValue5.Selected.Value).'Project ID'

 

Then delete the formula in DisplayFields and SearchFields property of PID dropdown and leave them empty. 

 

Set below formula in the Update property of PID data card:

 

{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                        Id:Lookup('Project Information',Title=DataCardValue5.Selected.Value,'Project ID'=PIDdropdown.Selected.'Project ID',ID),
                        Value:PIDdropdown.Selected.'Project ID'}

 

 

Regards,

Mona

 

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Power APP-cascade drop-down from lookup list not binding data

Hi @vishalgoyal2472 ,

 

Please follow below steps to achieve this:

PID dropdown-items

 

Filter('Project Information',Title=DataCardValue5.Selected.Value).'Project ID'

 

Then delete the formula in DisplayFields and SearchFields property of PID dropdown and leave them empty. 

 

Set below formula in the Update property of PID data card:

 

{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                        Id:Lookup('Project Information',Title=DataCardValue5.Selected.Value,'Project ID'=PIDdropdown.Selected.'Project ID',ID),
                        Value:PIDdropdown.Selected.'Project ID'}

 

 

Regards,

Mona

 

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020 Winner Announced

Check it out!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,711)