Hello,
I have two tables in dataverse. ATIV_REQ_Requisition_History and ATIV_REQ_GrabePlace. The first one has an ID that reference the second one, for example in a row of the first I have a column GrabePlaceID (1) and wna't to LookUp for the Name associated with that ID in the Second table.
So far I have the data from the first table:
Set(
Trash;
RenameColumns(
ShowColumns(
Filter(
ATIV_REQ_Requisition_History;
DateTimeRequest >= dtStartDateExport.SelectedDate And DateTimeRequest <= dtEndDateExport.SelectedDate
);
"cr6ec_cc";
"cr6ec_datetimerequest";
"cr6ec_mailrequester";
"cr6ec_observations";
"cr6ec_justification";
"cr6ec_usernamerequester";
"cr6ec_grabeplaceid";
"cr6ec_reqtypeid";
"cr6ec_statusid"
);
"cr6ec_cc";
"CC";
"cr6ec_datetimerequest";
"DateTime Request";
"cr6ec_mailrequester";
"Mail Requester";
"cr6ec_observations";
"Observations";
"cr6ec_justification";
"Justification";
"cr6ec_usernamerequester";
"UserName Requester";
"cr6ec_grabeplaceid";
"GrabePlaceID";
"cr6ec_reqtypeid";
"ReqTypeID";
"cr6ec_statusid";
"StatusID"
)
);;
and the result:

So, I need to replace the column GrabePlaceID by the real name that I would get from the second table: LookUp(ATIV_REQ_GrabePlace;ID = ????;GrabPlaceName).
I don't know how to join the two queries.
Thanks