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 Error in fo...
Power Apps
Unanswered

Delegation Error in formula

(0) ShareShare
ReportReport
Posted on by 41

Hi All,

 

I am using following formula to filter gallery however it is throwing delegation error; can you please help me eliminate delegation warning.

If(
 ShowVisitedDealersOnly.Value,
 Filter(
 Dealer_List,
 ID in (
 Filter(
 Visit_Tracker,
 DID in Dealer_List.ID &&
 Visited_Date <= DateAdd(Today(), -3,TimeUnit.Months)
 ).ID
 )
 ),
 Dealer_List
)
Categories:
  • vaubeee Profile Picture
    533 on at

    Hi @Sanket_Katdare

    give this a try:

    If(
     ShowVisitedDealersOnly.Value,
     Filter(
     Dealer_List,
     StartsWith(
    		Filter(
     Visit_Tracker,
     StartsWith(Dealer_List.ID,DID) 
    		&&
     Visited_Date <= DateAdd(Today(), -3,TimeUnit.Months)
     ).ID,
    	ID)
     ),
     Dealer_List
    )

     

  • Sanket_Katdare Profile Picture
    41 on at

    Hi VauBee, Thanks for quick response !!!

     

    ShowVisitedDealersOnly is toggle switch with I am trying to filter all dealers or dealer visited in last three months, ShowVisitedDealersOnly.Value is returning only True / False value.

    I tried formula suggested by you but it is throwing “Startwith” has some invalid argument error.

     

    Regards,

    Sanket 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard