Forum Discussion
Creating relationships to multiple columns and displaying data
- 9 years ago
CreatedByUser = CALCULATE(VALUES(User[Name]),USERELATIONSHIP(Incident[Createdby],User[User]))
ModifiedByUser = CALCULATE(VALUES(User[Name]),USERELATIONSHIP(Incident[Modifiedby],User[User]))
Anonymous
With USERELATIONSHIP in a Dax Measure you can activate relationship between the tables (The active and Inactive)
CreatedByUser = CALCULATE(VALUES(User[Name]),USERELATIONSHIP(Incident[Createdby],User[User]))
ModifiedByUser = CALCULATE(VALUES(User[Name]),USERELATIONSHIP(Incident[Modifiedby],User[User]))
- Anonymous9 years agoNot applicable
I tried using the method you mentioned. But I get this error: USERELATIONSHIP function can only use the two columns references participating in relationship
CreatedByM = CALCULATE(VALUES(UserInformationList[WorkEmail]),USERELATIONSHIP(IncidentTracker[CreatedById],UserInformationList[Id]))
- Anonymous5 years agoNot applicable
If i want to use two more relation ships with the userealtionship function can it be possibel
Calculate(count(inc),userelationship(inc[country],user[country]),userelationship(inc[user],user[user])
Thanks in advance