Hi,
I have a collection called ColData as below:
| CompanyName |
| Apple |
| Sony |
I have a sql table CompanyData as below:
| Id | CompanyName | CompanyLocation |
| 1 | Apple | California |
| 2 | Sony | Tokyo |
| 3 | San Fransico | |
| 4 | Samsung | Seol |
I want to add "Id" column from SQL table to my collection ColData so that my ColData will look like below:
| Id | CompanyName |
| 1 | Apple |
| 2 | Sony |
| 3 |
I have tried AddColumns(ColData,"Id",Filter(CompanyData,CompanyName=ColData.CompanyName)); but it is not working Could anyone pls help

Report
All responses (
Answers (