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 column items ca...
Power Apps
Answered

Lookup column items cached after addition/removal? (Refresh function not a fix)

(0) ShareShare
ReportReport
Posted on by 193

I am working with 2 SharePoint lists within my app (Ex: MainList, LookupList). One of them has a lookup column that relates to the other list.

 

I also have a form within my app which allows items to be added to the LookupList. However, sometimes after adding items or deleting items, they do not show up, or continue to show even after being deleted. Hard clearing of the browser cache (Ctrl+F5) is the only immediate fix (or whenever the browser cache clears itself via closing/reopening).

 

I tried Refresh functions in several places, and am not able to get any consistent results. Has anyone run into this before? For additional info, the lookup list has just 265 items.

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

    HI @RodM ,

    Lookup columns are not the best friend of Power Apps at times (I have not used them for many years) and this is another example of their limitations. SharePoint is not a relational database and will not resolve this query automatically without being re-queried. Look up the second list directly and the issue will resolve.

     

    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

  • RodM Profile Picture
    193 on at

    @WarrenBelz , Thanks for the reply. Can you please provide some specific steps on how to achieve this within a form?

    How can I lookup the second list directly within a form tied to the "MainList'? Assuming the form starts with a default code of:

    Choices([@'MainList'].'LookupColumn')


    What would I change this to to allow direct lookup, and selection of items on a form to be submitted to the 'MainList'? When I tried the following code (along with updating the Fields option) it populates the dropdown with the items needed, but after submitting the form, the data in the 'LookupColumn' field ends up being blank.

     

    Sort('LookupList',Items)

      

  • RodM Profile Picture
    193 on at

    I ended up changing the lookup column in the MainList to a text column, and then added a dropdown control to feed it the Selected Items. But if you can still provide possibly another alternative, it would still be appreciated.

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @RodM ,

    Depending on whether you wanted Distinct values - I will use that here - just be aware of Delegation limitations

    Sort(
     Distinct(
     SecondList.LookedUpField
     ).Result,
     Result
    )

    It is also an option to design your data to not need lookup columns, with reference lists if necessary due to Delegation.

     

    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

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard