Forum Discussion
Get column from another table
- 3 years ago
Hi srivallyk
Sorry, seems somehow I missed your reply. Apologies for the late response. Please useProgram Name = VAR T1 = ADDCOLUMNS ( 'Project Programme', "@ProgramName", RELATED ( Programme[ProgrammeName] ) ) VAR T2 = FILTER ( T1, 'Project Programme'[ProgrammeKey] = Project[ProjectKey] ) RETURN MAXX ( T2, [@ProgramName] )
But if I have multiple Programme Names for one Project, I'm getting only one Programme Name. I need to show either all Programme Names under that Project or simply show '-' for the Project.
Hi srivallyk
Please update the sample file to reflect the same and share it with me.
- srivallyk3 years agoNew Member
Hi tamerj1
attached is the link for the file.
https://www.dropbox.com/s/3jrlh7un2ev3hgd/Test_Card.pbix?dl=0
Here in the attached data model, relationships are not created because it cannot be created originally there are other datasets which I have not included.
If I select Project from the slicer, respective Programe and Legal Name should dispaly under respective cards. If I have multiple program/Legal Name under one Project selection, it should display '-' in card.