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 / Sharepoint List Lookup...
Power Apps
Unanswered

Sharepoint List Lookup Column in Powerapps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have a SharePoint list with column Job Number - and in the column the numbers are from another list which is looked up. 

I am building an app , and I am stuck with Search box of the gallery - the formula to be used. 

 

SANJURK_2-1647607640524.png

 

I want to change the formula to the below , but it isnt working

 

SortByColumns(Filter([@'Abraj Tower Snags'], StartsWith(JobNum, TextSearchBox1.Text)), "JobNum", If(SortDescending1, Descending, Ascending))

 

I feel this is because its a value in the sharepoint list is which is being lookedup. 

 

I have put the below too :

 

SANJURK_0-1647608226087.png

 

Categories:
  • WarrenBelz Profile Picture
    156,545 Most Valuable Professional on at

    Hi @Anonymous ,

    Assuming JobNum is the Lookup column

    SortByColumns(
     Filter(
     AddColumns(
     [@'Abraj Tower Snags'], 
     "JobNo",
     JobNum.Value
     ),
     StartsWith(
     JobNo, 
     TextSearchBox1.Text
     )
     ), 
     "JobNo", 
     If(
     SortDescending1, 
     Descending, 
     Ascending
     )
    )

     

    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.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The issue now is with the detail screen and edit screen. The formula works fine. 

     

    SANJURK_0-1647849639002.png

     

     

    SANJURK_1-1647849658810.png

     

    Its something with the gallery. 

     

    Could you let me know what is being done above in the formula you have mentioned

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard