web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,505 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard