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 / [LOOKUP FIELD] SharePo...
Power Apps
Answered

[LOOKUP FIELD] SharePoint and Custom Forms PowerApps

(0) ShareShare
ReportReport
Posted on by 41
Hi,
 
I have one list in SharePoint Online with 9000 rows or more.
 
The native form dont working with the quantity of the rows. So, i created three index in the List and a custom form using PowerApps.
 
In the powerapps in the Field Lookup I added the following logic:

 

SortByColumns( If( IsBlank( DataCardValue2.SearchText ); LISTNAME; Filter( LISTNAME; StartsWith( EMPRESA; DataCardValue2.SearchText ) ) ); "Title"; Ascending )

 

 

With that I can search any row for all list, But when i saved the form the field EMPRESA dont appears (attached image)

 

What am I doing wrong?

sperro01.png
Categories:
I have the same question (0)
  • h-nagao Profile Picture
    392 on at
    Hi,
    Could you give an expression for Update property of the DataCard?
    In general, if you modify items property of combobox inside DataCard, you have to change Update property as well.

    Thank you,
    Hiro
  • Moises Profile Picture
    41 on at

    Hi @h-nagao,

     

    Thanks for help me.

     

    In DataCard in "Default" is seted "ThisItem.EMPRESA" and in "Update" is seted "DataCardValue2.SelectedItems"

  • Verified answer
    h-nagao Profile Picture
    392 on at

    Hi Moises,

     

    Thanks for sharing your formula.

    I've tested on my side, blow code works fine

     

    //For Update property
    { '@odata.type' : "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference", Id: Value(DataCardValue2.Selected.ID), Value: DataCardValue2.Selected.Title }

    and 

     

    //For Default property
    If(!IsBlank(ThisItem.EMPRESA),LookUp(LISTNAME,ID=ThisItem.EMPRESA.Id))

    * depending on your region, comma should  be replaced by semi-colon.

     

    I hope these expressions work fine for you.

     

     

     

  • Moises Profile Picture
    41 on at

    Yeeeeeaah @h-nagao,

     

    Thanks so much!!!

     

    You are a sacred monster of the PowerApps... Thanks again.

  • h-nagao Profile Picture
    392 on at

    You are welcome!

    Enjoy making PowerApps!

     

    Regards,

    Hiro

  • Bmarsoner Profile Picture
    15 on at

    Thank you so much @h-nagao . Your solution saved my day!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard