web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple values are no...
Power Apps
Answered

Multiple values are not return by lookup

(0) ShareShare
ReportReport
Posted on by 72

Hello,

 

I have two roles for a user in a sharepoint list - when i want to return both the roles - the lookup is just returning one instead both in the dropdown item list. Can u help - i tried with filter and then used a lookup ontop of that but its not working . Currently the user holds 2 roles and i want to get both the roles in a drop down item list.

 

[LookUp(Filter('SP LIST','Name of User'= User().Email && 'Role of User'="Role1" || 'Name of User'= User().Email && 'Role of User'="Role2"),'Name of User'= User().Email,'Role of User')]

 or

 

[LookUp('SP list','Name of User'= User().Email,'Role of User')]

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,369 Most Valuable Professional on at

    Hi @rupa1 ,

    A Lookup will return the first value, so that is the expected result. To get a table showing the two records

    ShowColumns(
     Filter(
     'SP LIST',
     'Name of User'= User().Email && 
     ( 'Role of User'="Role1" || 
     'Role of User'="Role2"
     )
     ),
     "Name of User"
     "Role of User"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • rupa1 Profile Picture
    72 on at

    Thank you..it worked!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard