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

Help with Delegation warning

(0) ShareShare
ReportReport
Posted on by 1,247 Super User 2024 Season 1

Hello All !

 

I have a single-line text column called project tradename that I would like to filter (DB is Sharepoint). I am using a multi-select and searchable combobox. Since X amount of projects can be added , how can i get around this delegation issue

Anonymous_Hippo_0-1662152181870.png

 

 

 

 

Filter('Project Tracker', (Len(TabViewProjectStatus.Selected.Value) = 0 || 'Project Status'.Value in TabViewProjectStatus.SelectedItems.Value))

 

 

Screenshot 2022-09-02 160143.png

 

Delegation warning on "In" and "||" functions

All ideas are welcome !

Categories:
I have the same question (0)
  • jatcube Profile Picture
    508 on at

    @Anonymous_Hippo the problem is the 'in'. try 'StartsWith' maybe?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous_Hippo 

    Are you going to have more than 2k projects?  If not, you can ignore it.

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    @Drrickryp  Yes !! I am going to have more than 2k projects . Could you please provide some suggestions 🙂

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    Hello @jatcube !

     

    This is a good idea ! While "In" cannot be directly replaced by startswith - we can get it to work but unfortunately only one option can be selected. I do not think there is a way to keep multiselect on and use startswith

     

    The below is one example i found in the community, but like you can see here we can use only one option

    Filter(Choices(YourTable.ChoiceColumn),StartsWith(Text(Value),"2"))
    

     

    In my scenario i have a single line text column which i need to filter

     

    Thanks 

     

  • Verified answer
    Akser Profile Picture
    1,546 Moderator on at

    Not the best solution but putting it out there as a last resort. Like many do, store your projects in memory OnStart. 

     

    Concurrent(

       ClearCollect(TempCollection1, Filter(Projects, ProjectId > 0, Project Id < 2000)),

       ClearCollect(TempCollection2, Filter(Projects, ProjectId > 2000, Project Id < 4000)),

       ClearCollect(TempCollection3, Filter(Projects, ProjectId > 4000, Project Id < 6000))

    );

     

    ClearCollect(FinalCollection, TempCollection1, TempCollection2, TempCollection3);

     

    Clear(TempCollection1); Clear(TempCollection2); Clear(TempCollection3);

     

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    Thank you @Akser ! Unfortunately this looks like the only possible solution other than using delegable DBs like dataverse or SQL server 🙂 

  • mikedem Profile Picture
    6 on at

    Workable, except you are excluding item 2000, 4000, and 6000

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
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard