I have a new requirement to filter a gallery based on 2 combo boxes.
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?
Solved! Go to Solution.
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:
@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.
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Did you miss the call? Check out the Power Apps Community Call here.
We are excited to announce the Power Apps Super Users!
Check out our new profile badges recognizing authored solutions!