Hi everyone
I am trying to get a lookup value to look at a sharepoint list datasource and return a value based on a selected value in my powerapp form.
I have 2 sharepoint lists
List 1 - Cars List
List 2 - Maintenance Works
Cars List has the following fields
-Name (text)
-Insurance (yes no)
-Insurance expiry (date)
Maintenance Works has the following fields
-Name (lookup to name Cars field)
-Date of works (date field)
-Works to be carried out (multi line text)
-Insurance expiry (lookup to Insurance expiry cars field)
I have created a sharepoint form on the Maintenance list, what i am trying to achieve is when the name of the car on the form is selected from the dropdown i want it to check the insurance expiry to see if its in date or not.
I created a label field to test the output but keep getting a formula error, this is what i have tried
LookUp('Cars List', Name =DataCardValue7.selected.value.insurance expiry)
DataCardValue7 is the drop down list for the Name field on the form
Can anyone put me out of my misery 🙂 im very new to this i must add
Thank you