Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Filter based on two combo boxes



I have a new requirement to filter a gallery based on 2 combo boxes. 


  • 1st Combo box is for the model number
  • 2nd Combo box for the sales month

I have done the filter for the 1st box and working fine. But I want to filter the Gallery 1st by Month then by model

Following is my current formula under Gallery Item property to filter by model


If(IsBlank(ComboBox3.Selected),SalesDetails_1,Filter(SalesDetails_1,'Model No'.Value=ComboBox3.Selected.'Model Number'))


Under the SalesDetails_1 I have a column name as SalesMonth. 


How can I do this?


@mdevaney @PowerAddict and other colleagues. 





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:


More details about delegable functions supported for CDS connector, please refer to the following article:


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:


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.

@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?



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)


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 





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

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (38,708)