Ref_Rows for label not key

I would like to make a Ref_Rows formula that shows all related transfer requests for specific Equipment IDs. However I canโ€™t make the Equipment IDโ€™s the key of the transfer requests but I can make it the label. The current formula is: REF_ROWS(โ€œTransfer Logโ€, โ€œEquipment ID:โ€) which returns blanks because as the test shows:

The list of values of column โ€˜Key:โ€™
โ€ฆfrom rows of table โ€˜Transfer Logโ€™
โ€ฆwhere this condition is true: ((The value of column โ€˜Equipment ID:โ€™) is equal to (The value of column โ€˜Key:โ€™))

It should say:
The list of values of column โ€˜Equipment ID:โ€™
โ€ฆfrom rows of table โ€˜Transfer Logโ€™
โ€ฆwhere this condition is true: ((The value of column โ€˜Equipment ID:โ€™) is equal to (The value of column โ€˜Equipment ID:โ€™))

0 2 1,434
2 REPLIES 2

You have to use the key column in the ref_rows function, because that is what establishes the reference between a record in the Transfer Log table, to a record in the equipment table. The Equipment ID column in the Transfer Log table does not have to be the key (and it should not be), nor the labelโ€ฆ it has to be a ref type column that points to the Equipment table.

Itโ€™s always the simple fixes that amazes me! Thanks @Marc_Dillon

Top Labels in this Space