cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Support
Community Support

Re: Filter based on two combo boxes

Hi @OsmandFernando ,

If you have faced a Delegation warning issue with your formula in your app, it means that you could not delegate the data process to your data source, instead, you could only process data locally.

In default, you could only process 500 records locally at most. You could change this limit to maximum value -- 2000, then you could process 2000 records locally at most.

 

If you would like this Delegation records limits to be increased, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

More details about delegable functions supported for CDS connector, please refer to the following article:
https://docs.microsoft.com/en-us/connectors/commondataservice/#powerapps-delegable-functions-and-ope...

 

If the amount of your data source records is more than 2000, as an alternative solution, you could consider bulk-load records from your data source into a collection in your app, then use the collection as data source in your app instead of the original data source.

Please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/Pulling-in-large-ish-SQL-tables/m-p/243777#M7...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
OsmandFernando Post Prodigy
Post Prodigy

Re: Filter based on two combo boxes

@v-xida-msft Thank you so much for your detailed reply and it is really helpful to understand about delegation issues. 

 

One last question to clear my mind, so the bottom line is , 

 

we can use collection option to address the delegation warning regardless the number of lines in the SP List right?

 

Osmand

OsmandFernando Post Prodigy
Post Prodigy

Re: Filter based on two combo boxes

Merry Christmas to all of you. 

 

@v-xida-msft  while you are providing the answer to my last question. I want to say that after following your guidance I was able to create a collection and then after following the formula suggested by @mdevaney The formula I used as below, (I have added the Year as well to the filter)

 

If(IsBlank(ComboBox3.Selected),SalesbyModelNumber,Filter(
SalesbyModelNumber,
IsEmpty(ComboBox3.Selected)=true Or Model = ComboBox3.Selected.'Model Number',
IsEmpty(ComboBox3_1.Selected)=true Or 'Sales Month' = ComboBox3_1.Selected.Value,
IsEmpty(ComboBox3_2.Selected)=true Or Text(Value('Sales Year'),"[$-en-US]###") = Text(ComboBox3_2.Selected.Value) ))

 

So now no more delegation warnings now. 

 

Thank you again to @v-xida-msft  and @mdevaney 

 

Osmand

 

 

Super User
Super User

Re: Filter based on two combo boxes

Merry Christmas to you as well @OsmandFernando.  Now its time to take a well-deserved break! 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,247)