cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nicen
Frequent Visitor

Auto-Populate fields from SharePoint list based on drop down selected value

I have a SharePoint list named Invoices that has a drop down column named Contract Name that takes data from another list (Contrat Details) and has the contracts info (like Entity Name, Currency, Contract Value... etc.). I have created a power app form with Contract Name as a drop down and I want to auto populate the other fields (like Entity Name, Currency, Contract Value... etc.) based on the selected contract name.

 

I have used below formula in the Default field in Power App but it is not working for any reason.

 

LookUp('Appendix A',Title=DataCardValue3.Selected.Title,'Entity Name'.Value)

 

Any idea how to solve this issue.

Thank you

8 REPLIES 8
Nogueira1306
Community Champion
Community Champion

Hey

Try this onDefault property of textBox:


Concat(Filter('Appendix A',Title=DataCardValue3.Selected.Title); FieldYouWant; "")

eka24
Super User
Super User

Your formula looks fine. What formula do you have on the dropdown?

 

If the Entity Name is not a choice column, try;

LookUp('Appendix A',Title=DataCardValue3.Selected.Title,'Entity Name')

 

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

I have tried it, but I'm getting Invalid formula 

Nicen
Frequent Visitor

 

I have tried this as well and getting an error.

 

Untitled.png

and for the drop dwon, I've used this formular and it is working fine.

in the items property of the drop down: 'Appendix A'.Title

And in the Update property of the data Card: {
Value: DataCardValue3.Selected.Title
}

eka24
Super User
Super User

I asked for the formula on the Drop-down

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Nicen
Frequent Visitor

and for the drop dwon, I've used this formular and it is working fine.

Please check below.

in the items property of the drop down: 'Appendix A'.Title

And in the Update property of the data Card: {
Value: DataCardValue3.Selected.Title
}

In your first post you stated that the dropdown is from another table Contact Details. That is why in all my reply I keep asking you to show the items property of the dropdown. As it is now, where is the Contact Details used? Please take a screenshot of the dropdown.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Nicen
Frequent Visitor

I have named Contrat Details list as Appendix A and it is the list that has all the data including the Tilte, Entity, Currency .. etc

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,686)