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 / Urgent assistance need...
Power Apps
Answered

Urgent assistance needed: How to apply lookup to every item in a list

(0) ShareShare
ReportReport
Posted on by 19

Good Afternoon,

 

I am working to connect two lists. In one list we will have main list that will be include qualifying information for about 5,000 customers. Our staff will use this as a work list to track their transition from a competitor. There are drop downs, status's and notes that will regularly be updated as we work through these clients. I also have a list that will include some additional information, including the date we sent their first shipment. I am doing a power app form with lookup to pull in the shipping date through a unique ID (Patient SRC Number) that is available in both lists. 

 

I am using the following formula for the look up and I am successfully returning data for single row at a time if I edit that row. 

 

LookUp('REMS and Mandatory HUB Shipping Tracker', PatientSrcNumber = Value(DataCardValue7.Text),ShipDate) 

 

I need to be able to update shipping data for all items in the list at least a couple times per day so our staff can see if a shipment has occurred. Does anyone have any tricks for how I can force all items in the list to complete the lookup and return the ship date either real time or on a predetermined schedule? 

 

Thanks!

 

Nick

Categories:
I have the same question (0)
  • w1sd0m Profile Picture
    151 on at

    use filter not lookup

  • nviddivo Profile Picture
    19 on at

    Thanks, Wisdom. How would you do this? Any more details?

  • w1sd0m Profile Picture
    151 on at

    you already have it in the code, try swapping out LookUp with Filter and just add the property selector argument at the end. 

    Filter('REMS and Mandatory HUB Shipping Tracker', PatientSrcNumber = Value(DataCardValue7.Text).ShipDate
  • nviddivo Profile Picture
    19 on at

    I won't pretend I am an expert here. I tried as you have it written and it didn't populate the entire list with ship dates. Perhaps I am missing the property selector argument but I don't even know what that is. 

  • Verified answer
    v-chenzhi Profile Picture
    Microsoft Employee on at

    Hi @nviddivo ,

     

    Do you have two lists in SharePoint and want to Update the ShipDate of the SubList to the ShipDate of the MainList according to PatientSrcNumber?

    I assume you have this in SubList and MainList and display MainList in DataTable

    vchenzhi_0-1636530113195.png

    vchenzhi_1-1636530113197.png

     

    Set the Items property of DateTable to following

     

    ForAll(
     MainList,
     {
     PatientSrcNumberMAIN: PatientSrcNumberMAIN,
     ShipDateMAIN: LookUp(
     SubList,
     PatientSrcNumberCHILD = PatientSrcNumberMAIN,
     ShipDateChild
     OtherColumnName:OtherColumnName // Note that if you have other column needed to be assigned value to, please replace it with the real column name
     )
     }
    )

     

    If ShipDateChild in Sublist is updated, the corresponding ShipDateMAIN in Mainlsit will also be updated

    vchenzhi_2-1636530113198.png

     

     

     

    Best Regards,

    Zhi Chen

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard