cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

SharePoint Lookup, how to reference value from dropdown

Hi

 

Custom SharePoint list with a form in Powerapps, one column is a lookup to a custom list with 2 columns, title and driver-domain

My goal is to set a different field to the value of driver-domain (for the moment I'm trying to set a variable)

If I add a standalone dropdown it works, but not on the sharepoint integration form

 

Works:

UpdateContext({varDriver: LookUp(Drivers, Title = Dropdown1.Selected.Title, 'Driver-Domain')})

 

Doesn't work:

UpdateContext({varDriver: LookUp(Drivers, Title = ThisItem.ToDriver.Value, 'Driver-Domain')})

 

 

drivers.jpg

 

Form.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

found it 🙂 DataCardValue31.Selected.Value

 

UpdateContext({varDriver: LookUp(Drivers, Title = DataCardValue31.Selected.Value, 'Driver-Domain')})

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

found it 🙂 DataCardValue31.Selected.Value

 

UpdateContext({varDriver: LookUp(Drivers, Title = DataCardValue31.Selected.Value, 'Driver-Domain')})

View solution in original post

Hi @Anonymous,

 

I am glad you find a way to solve your problem.
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Kudoed Authors
Users online (1,378)