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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Return array after loo...
Power Apps
Unanswered

Return array after lookup from other sharepoint list and filter gallery

(0) ShareShare
ReportReport
Posted on by 25

Hi Friends

How could I look up and return array from another SharePoint list and then filter gallery with array result from prior lookup ? currently i tried to use lookup function but it only return 1 value (AA 001 02)

Another Sharepoint

Supasith_0-1714729036980.png

Main sharepoint

Supasith_3-1714729383362.png

 

formula on button in login screen

Supasith_1-1714729194137.png

it only return AA 001 02

Supasith_2-1714729279968.png

 

thanks in advance for any suggestions

 

Categories:
I have the same question (0)
  • TuongDoan Profile Picture
    573 Moderator on at

    Lookup() always return a single record. You should change it to Filter().

     

     

    Set(varfilter, Filter(StockTakeAssignUser, UserID = TextInput2.Text).CountSheet)

     

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!

  • Supasith Profile Picture
    25 on at

    @TuongDoan thanks for your reply, next step how could i use varfilter to filter my gallery that datasource from other sharepoint list ?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard