PowerApps – Merge Two Lists with Same Column Name
While merging two SharePoint lists in Power Apps, I have used Employee ID as a lookup Column. But both lists are using Same Name as “Employee ID”.
To Fix the issue, we need to use “With” function to update
the column. Here are the logic I have used to merge the lists.
Here “NewStudAdmin” is a partial data. Here With function
evaluates a formula for a single record. This formula calculate the value to
perform actions to modify the data while working with collections.
The above formula will work to combine two lists data based
on Employee ID.
Here EmployeeData1 – LIST1
EmployeeData2 – LIST2
We need to merge these two lists based on Employee ID common
field in the two lists. When I try to merge these lists with ForAll and Lookup without “With”
function, I got an error “Incompatible to comparing the two lists in the Lookup”
Hope this helps.
Comments