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 / Workarround Show Image...
Power Apps
Answered

Workarround Show Image in Gallery Delegation

(0) ShareShare
ReportReport
Posted on by 16

Hi! 

 

We have a PowerApp where we use a gallery with data from a Dataverse table. In this Gallery we try to show an image stored in sharepoint if the Name of the image is in the name of the dataverse item -> LookUp(Documents,ThisItem.new_site in Name, Thumbnail.Large)

 

This was perfectly working with a small dataset but now we are running into a delegation issue and do not know how to solute this problem. 

 

Any help would be highly apprechiated. 

 

Cheers, Quince

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @QuinceKa ,

     

    The "in" operator in your statement is causing the delegation issue. Is is possible to replace this with "="?

     

    LookUp(Documents,ThisItem.new_site = Name, Thumbnail.Large)
  • QuinceKa Profile Picture
    16 on at

    Hi BC,

     

    thanks for the quick reply.

    Name is not delegable to Sharepoint, neither...

     

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @QuinceKa ,

     

    What are the datatypes of Name and new_site?

  • QuinceKa Profile Picture
    16 on at

    HI @BCBuizer , 
    Sorry for the late reply, been on vacation for a week. 

    Datatypes are Single line of text. 

  • Verified answer
    BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @QuinceKa ,

     

    In that case StartsWith() may help as it is delegable for SharePoint:

     

    LookUp(Documents, StartsWith(Name, ThisItem.new_site), Thumbnail.Large)

     

     https://docs.microsoft.com/en-us/connectors/sharepointonline/#power-apps-delegable-functions-and-operations-for-sharepoint

  • QuinceKa Profile Picture
    16 on at

    @BCBuizer Thx a lot for the help. Really appreciated! 

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 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard