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 / Deal with Delegation
Power Apps
Unanswered

Deal with Delegation

(0) ShareShare
ReportReport
Posted on by 505 Moderator

Hi guys, I have N Sharepoint List in my App.

 

I need to deal with delegation warnings in this code:

 

 

If(
 stringPermitAsign = "H1",
 Filter(
 ListH1,
 Deleted = false &&
 Linked = Blank() && <-- The warning is in this ampersand
 !IsBlank(LookUp(AuxiliarList, PermitID = Title, Status <> "Draft"))
 ),
 stringPermitAsign = "H2",
 ...
)

 

 

I need to show in a gallery the items that accomplish this requirements:

  • Deleted column value FALSE
  • Linked column value BLANK
  • It exists in other list (AuxiliarList), the column  PermitId is equals to Title and Status is not Draft.

Thank you so much 

Categories:
I have the same question (0)
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi @enriqueglopez 

     

    Check out @WarrenBelz 's blog, where he provides a detailed explanation of utilizing non-Delegable filters and eliminating Delegation warnings.

     

    https://www.practicalpowerapps.com/delegation/with-statement-managing-delegation/

     

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • enriqueglopez Profile Picture
    505 Moderator on at

    Any helpful example of how could I solve this problem? Thanks

  • juangonzalezAuc Profile Picture
    97 on at

    try IsBlank(Linked) instead and let me know

     

  • enriqueglopez Profile Picture
    505 Moderator on at

    Doesn't work, makes the warning bigger 

  • juangonzalezAuc Profile Picture
    97 on at

    to be clear:

    If(
     stringPermitAsign = "H1",
     Filter(
     ListH1,
     Deleted = false &&
     IsBlank(Linked) && <-- The warning is in this ampersand
     !IsBlank(LookUp(AuxiliarList, PermitID = Title, Status <> "Draft"))
     ),
     stringPermitAsign = "H2",
     ...
    )

    changes the warning? Is still a delegation warning?

    IsBlank is a delegable function as Blank() is not.

  • enriqueglopez Profile Picture
    505 Moderator on at

    Yes, look at this:

    enriqueglopez_0-1705416143020.pngenriqueglopez_1-1705416185958.png

     

  • KaiE Profile Picture
    39 on at

    I would use Not() Function: 

    If(
     stringPermitAsign = "H1",
     Filter(
     ListH1,
     Deleted = false &&
     IsBlank(Linked) && <-- The warning is in this ampersand
     Not(IsBlank(LookUp(AuxiliarList, PermitID = Title, Status <> "Draft")))
     ),
     stringPermitAsign = "H2",
     ...
    )
  • enriqueglopez Profile Picture
    505 Moderator on at

    Sadly that doesn't work 

  • juangonzalezAuc Profile Picture
    97 on at

    His Answer with your original code should work:

    juangonzalezAuc_0-1705438547057.pngjuangonzalezAuc_1-1705438558595.png

     

     

  • enriqueglopez Profile Picture
    505 Moderator on at

    I don't know why, but is not working for me:

     

    enriqueglopez_0-1705439659108.png

     

    PermitID is a String column.

     

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard