Forum Discussion
lopezbec
Advocate I
4 years agoDAX Help with Lookup for multiple users
I have a Sharepoint list that I am creating a PBI report for. This sharepoint list will have one or more IDs for an approval workflow. I want to show who the Approval request went to using the Appr...
- 4 years ago
Thanks for your assistance, but I found a different solution. AssignedTo is also found under FieldValuesAsText. I selected the fields I needed and it is already available. No function needed.
goncalogeraldes
Super User
4 years agoHello there lopezbec ! The search values need to ideally be scalar. You should split the column in power query to then do the LOOKUP, but you can try the following:
Approval Sent To =
IF (
IFERROR ( SEARCH ( ",", [ApprovalSentToId] ), -1 ) >= 0,
LEFT ( RELATED ( 'User Information List'[Title] ), 3 ),
LEFT ( RELATED ( 'User Information List'[Title] ), 3 ) & ", "
& RIGHT ( RELATED ( 'User Information List'[Title] ), 3 )
)
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes