ArchiveUser
9 years agoQrew Captain
How to create a relationship between two connected dataset tables?
Hi,
I've got two tables using connected datasets and each one is using a refresh key as the key value.
The values used in the refresh key for one table are also present in the other table, so I've made a formula to re-create the refresh key value and want to use that as the reference for the relationship (refresh key -> formula).
The problem I'm having is that when creating the relationship the 'reference field' only lists 'related key' in the drop down box. Additionally the other fields in the connected dataset are not present in the lookup fields.
Rather than using the 'related key', I want to use the custom formula to link the two tables together.
Is there some way to use a field other than 'related key' when creating a relationship between two connected tables using refresh keys?
[edit]
As a comparison, I've also attached a screenshot (capture.png) of another table to table relationship I have setup between two connected datasources. In this one, I'm able to select other fields as the 'reference' field. The only difference I can see between the two setups is that one is a composite key field while the other is text. Can composite key fields reference any field other than the default 'related' one?


I've got two tables using connected datasets and each one is using a refresh key as the key value.
The values used in the refresh key for one table are also present in the other table, so I've made a formula to re-create the refresh key value and want to use that as the reference for the relationship (refresh key -> formula).
The problem I'm having is that when creating the relationship the 'reference field' only lists 'related key' in the drop down box. Additionally the other fields in the connected dataset are not present in the lookup fields.
Rather than using the 'related key', I want to use the custom formula to link the two tables together.
Is there some way to use a field other than 'related key' when creating a relationship between two connected tables using refresh keys?
[edit]
As a comparison, I've also attached a screenshot (capture.png) of another table to table relationship I have setup between two connected datasources. In this one, I'm able to select other fields as the 'reference' field. The only difference I can see between the two setups is that one is a composite key field while the other is text. Can composite key fields reference any field other than the default 'related' one?
