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

Lookup secondary value from Sharepoint list

Hi,

 

I have a Sharepoint list with 2 columns, 'Title' & 'Template Value'.

 

'Title' is the datasource for a dropdown in my PA form.

 

My PowerApps form has a data connection called 'Contract Type'.

 

I am trying to return the 'Template Value' based on the 'Title' selection in my dropdown and write the value to VarLetter.

 

I using the below formula for my dropdowns 'OnSelect' function:

 

Set(VarLetter,(LookUp('Contract Type', Dropdown4.Selected.Title = Title).'Template Value'))

 

Its setting values but not the correct ones, not sure how it is setting wrong ones but it is, must be something stupid !?


Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
tiprat
Frequent Visitor

Solved it, needed to use OnChange instead of OnSelect and the formula works.

View solution in original post

2 REPLIES 2
tiprat
Frequent Visitor

Solved it, needed to use OnChange instead of OnSelect and the formula works.

View solution in original post

alrez
Community Support
Community Support

Hi,

 

Thanks for the follow up on this post. Please remember to mark your post as the answer. Hopefully this will prove to be useful for future communities users who are having similar issues.

 

Regards,

 

Alex

 

-------

 

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

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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