Alson Yap
06/30/2025, 2:35 AMA
and B
) from a FlexConnect data source via A_id
and B_id
respectively
• chose a table `B`'s field (field X
) for filtering
◦ selected several values,
• and then placed a field (Field Y
) from Table A
on Rows
,
• the request then comes to my FlexConnect service to retrieve field Y
but with the filters applied.
The request hits the FlexConnect function implemented for Table A
(yes reasonable), but the filter's context doesnt take into account the linkage that I've done on LDM. It'd send me the filter field X
above that comes from Table B
, which of course wouldnt exist in Table A's context.
Im wondering if this is expected? And then that means, I should also maintain a linkage in my own BE code used for the implementation of the FlexConnect data source? If so, I think it can lead to drifts (i.e. users changing linkages on GD, but BE does not have this information)Yvonne Changamuka
06/30/2025, 7:57 AMAlson Yap
06/30/2025, 9:08 AMJakub Sterba
06/30/2025, 9:09 AMJakub Sterba
06/30/2025, 9:12 AMAlson Yap
06/30/2025, 10:02 AMIn your scenario it depends if Field X exists as foreign key in the table A. In such case data of table A can be used for the query and retrieval of data for table B may be not necessary.
My Table A is like a Fact table, so it has a large number of rows. Due to another conversation that we're having, currently that whole table is being returned. So Im hoping to use Table B, a dimension table, to perform filtering, and then query data off Table A, so that we will return less data.
With these 2 joined in LDM (sry let's use the terms A_key
and B_key
for easier reference), I was hoping that the execution context when sent to Table A
, would then mention A_key
and the values it should filter for, but Im receiving B_key
, which naturally does not exist in Table A
Jakub Sterba
06/30/2025, 11:31 AMAlson Yap
07/01/2025, 3:30 PMAlson Yap
07/01/2025, 3:33 PM$in
(we're using MongoDB, but it's equivalent to IN
in SQL) for its corresponding FK based on the obtained Step (1) values aboveJakub Sterba
07/01/2025, 3:41 PM