Well here's an update... AddColumns with LookUp isn't working at all anymore. It joins the wrong row (the first row in the datasource to all items instead of the one that matches the lookup). Tried it with a basic collection and it still doesn't work. Here's the syntax I used:
ClearCollect(Coll1, {name: "1"}, {name: "2"});
ClearCollect(Coll2, {name: "1", value: "1 - test"}, {name: "2", value: "2 - test"});
ClearCollect(CollCombined, AddColumns(Coll1,
"combined", LookUp(Coll2, name=Coll2[@name])))Tried it with joining individual columns instead of the whole collection and it's still wrong. Syntax below. See attached screenshot.
ClearCollect(Coll1, {name: "1"}, {name: "2"});
ClearCollect(Coll2, {name: "1", value: "1 - test"}, {name: "2", value: "2 - test"});
ClearCollect(CollCombined, AddColumns(Coll1,
"combinedName", LookUp(Coll2, name=Coll2[@name]).name,
"combinedValue", LookUp(Coll2, name=Coll2[@name]).value))