Introduction:
I exported a table (Contacts) from a web application to an Excel file (Contacts.xlsx). This table had a column called CompanyName that basically takes the company name from another table called Companies. There are about 400 contacts. Of course, some contacts belong to the same company. I also exported the content of the table Companies to an Excel file (Companies.xlsx).
I wanted to recreate the same structure using Power Apps. So I first created a List called Companies based on Companies.xlsx file. Then I created another list called Contacts, based on the Contacts.xlsx file. Now the Contact List has a column called Title that has the company names. All good so far. So I created another column called CompanyName which of type Lookup that takes the company name from the Company List. Of course, this column in the Contacts list is empty. I could manually add the company name one by one. And I did that for about 50 names. There must be a smarter way to do it. All I want is to set the value of the CompanyName lookup column to the name in the Title column. But I have no idea how to go about it using PA. And help will be great. Thank you in advance.
Color Guide: Table from a web database
Color Guide: Excel File
Color Guide: Sharepoint List
Color Guide: Column in a Sharepoint list.