I have a sharepoint list, and an SQL table. I essentially want to do an SQL JOIN between them, on the PartNumber column. I can do it, but its taking a long time to generate. I was hoping for a quicker way to handle this. Any ideas?
ClearCollect(ECN_Data_Filtered_PreLoad, Filter('Engineering Change Notice', ECN_Status_PowerApps_Value=4));
ClearCollect(ECN_Data_Filtered,
AddColumns(ECN_Data_Filtered_PreLoad,
"Material",LookUp('[dbo].[VIEW_ALL_PDM_LATEST]',PartNumber=Part_x0020_Number).Material)),
"ProjectID", LookUp('[dbo].[VIEW_ALL_PDM_LATEST]',PartNumber=Part_x0020_Number).ProjectID))
The only thing I could think of would be to preload the other table into a collection first, but how can I filter it based on the same PartNumber first? There are far too many records to do the full table. I know operations with collections are far quicker than lookups over an on prem gateway to the SQL server.