Hello.
Hope someone can help.
I have, simplified, the following problem.
In a sharepoint list there are records for each day for up to 2 trips according to the following scheme.
Schema:
(trip1/2 of course include addresses etc))
01.07.2021; Trip1
01.07.2021; Trip2
02.07.2021; Trip1
03.07.2021; Trip1
03.07.2021; Trip2
...
For each day, these trips should now be summarized in a daily rate in a catalog, thus:
01.07.2021; Trip1; Trip2
02.07.2021; Trip1
03.07.2021; Trip1; Trip2
...
I have now selected this data in 2 tables: col_trip1, col_trip2 with the columns: Date, Trip.
In the Items property of a catalog I need to merge these data accordingly, but haven't found a correct code yet, as:
AddColumns(col_trip1;
"Trip2"; LookUp(col_trip2;
col_trip1.Date = col_trip2.Date;
Trip))
Problem: Defining the (same-named) columns in the two tables correctly.
Thank you very much for your help.
Hans