After adding a dataset to a document or VI dashboard, users right-click a newly imported attribute but cannot link it to an attribute from another dataset using "Link to" menu as it is greyed out:

CAUSE:
This is working as designed. To successfully link attributes between datasets at the document/dashboard level, a set of rules need to be followed.
ACTION:
To enable linking of attributes from different datasets in a document or VI dashboard, please ensure that the following rules are followed:
Please also note that when linking attribues between datasets in document, only ID forms can be linked; linking on DESC forms is not supported. Linking attributes in a dashboard supports linking between ID form and non-ID forms.
Related links:
KB203536: Difference between Link to project attribute form during Data Import Preview page and Link to project attribute in design mode of document/dashboard