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]))
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]))
Your relationship look lie this;?
Created and Modified related to User column in user table
- Anonymous9 years agoNot applicable
Ok. I got it now! Thanks Vvelarde :)
- praveenasoni6 years agoRegular Visitor
Hello I am also facing this error. I am really new to powerBI. Can you please help me with this error.
- joepbreslin6 years agoRegular Visitor
Finally found the solution from this page. Had to use FIRSTNONBLANK instead of VALUES. Otherwise, what was described in this thread worked for me 🙂