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.

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,782)