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 / Delegation issue with ...
Power Apps
Answered

Delegation issue with filtering SharePoint list with lookup column

(0) ShareShare
ReportReport
Posted on by 22

Hi,

 

I have 2 SharePoint lists and the second has a lookup column to get the ID from the first one, so that when adding images to the second list they have the ID from the original entry.

 

What I am having issues resolving is that I have created a gallery to show the images for the selected item but I am getting a delegation warning and I am not sure how to correct it.

 

The issues is with the Value(Issue.Value)= section

 

'Issue' is the lookup column to the other SharePoint lists ID column. I know that Value is not delegable but I don't know a way around it. 

 

Below is the code for the filter, any help would be greatly appreciated.

 

 

Filter('Reported Issues Images',Value(Issue.Value)=galTrailerRAG.Selected.ID)

 

 

Regards,

Damian

Categories:
I have the same question (0)
  • theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    Hello @Damo10 ,

    Because you are storing Id gets stored automatically when you create Lookup column so use below formula:

     

    Filter('Reported Issues Images',Issue.Id=galTrailerRAG.Selected.ID)
    
  • Damo10 Profile Picture
    22 on at

    Hi,

    Thanks for the reply.

     

    I tried that but it is still getting a delegation warning on the .ID= for the Issue.

     

    Regards,

    Damian

  • Verified answer
    BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @Damo10 ,

     

    In the original filter, it was the Value function that is not delegable. 

     

    For LookUp columns, only the Value field is delegable, so can you please confirm what has been selected for the Value?

     

    In the below example it is the Title column of the parent list:

     

    BCBuizer_0-1665478059558.png

     

    An example of a delegable filter for this, matching LookUpColumn.Value against Test.Title (in the TestGallery), is:

     

    Filter(DataSource,LookUpColumn.Value = galTest.Selected.Title)

     

     

     

  • Damo10 Profile Picture
    22 on at

    Hi,

    Here is how the lookup column is set up. I have not used the Title column as there will be several entries with the same value so I used the ID as this will be unique.

    Damo10_0-1665478414179.png

     

    Regards,

    Damian

  • Verified answer
    theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    hello @Damo10 ,
    Please try this:

    Filter('Reported Issues Images',Issue.Value=Text(galTrailerRAG.Selected.ID))
    

     

    this should work.

  • Damo10 Profile Picture
    22 on at

    Hi,

    That works perfectly, thanks for your help.

    Regards,

    Damian

  • Poliva Profile Picture
    3 on at

    This is the answer, thank you

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard