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
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,287)