Hello,
I'm trying to solve what feels like it should be a simple lookup -
I have two SharePoint lists:
Quotes - contains customer quotes, and a SharePoint generated unique ID number, and a column for the customer business.
| QuoteID | Customer org | Type of work |
| 1 | Microsoft | Consultancy |
Time spent - staff enter records of the time they've spent working on a particular quote.
| User | Hours spent | Relevant QuoteID |
| John Smith | 2 | 1 |
I have a ComboBox that gives users the option of selecting a Quote ID :1,2,3,4,5,etc
I then have a TextInput that I'm trying to use Lookup, looking in the Quotes table and finding the quote with the ID, and then populating with the data in the Customer Org
I've tried a few combinations of the following, but I keep getting hit by errors
LookUp(Quotes, ID=ThisItem.QuoteID.Value, 'Customer Org.')
So, this should be looking at the Quotes table, and if the ID number, i.e. "1" selected by the user in the combobox matches a QuoteID in the Quotes table, it should display the Customer Org column of that record.
So:
User selects QuoteID "1" in the combo box
Customer Org field is auto-populated with "Microsoft"