cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

DataSource limits for Dynamics 365?

Is delegation still not available for Dynamics 365? It says that it is in this post: https://powerapps.microsoft.com/en-us/tutorials/delegation-overview/ however, I have tried doing a row count for a filtered datasource and I still don't get all of my records.

 

If I try this I get a result of 500:

 

CountRows(Leads)

 

and if I apply this filter on my data I would expect a count of 6, but I only get 3:

 

CountRows(Filter(Leads, firstname = "Aaron"))

 

The queries above were just tests, but the main thing I am trying to do is LookUp a specific record from the DataSource using a LeadId and then show a few values from that Lead in a form (name, email, etc.). I've tried three different Lead Ids, one of them works, while the other two do not return any data (even though I can see values in CRM). I'm guessing that the 500 record limit is in place still and that these records are not in my DataSource.

 

So I'm guessing that delegation isn't working or I'm doing something wrong?

4 REPLIES 4
Highlighted
Community Champion
Community Champion

Re: DataSource limits for Dynamics 365?

Hi @Shannon, in regards to the first part of your question, a CountRows will only ever return a maximum value of 500 irrespective of whether the data source is delegable or not.  This is because CountRows is not (yet!) a delegable function.

 

However, FIlter is a delegable function so you should get all 6 of your Aarons back and not just 3.  In your expression, the CountRows comes logically after the Filter so that it should not affect the delegation of the filter operation.

 

I hope someone from the PowerApps team will pick up on your question.

Highlighted
Community Support
Community Support

Re: DataSource limits for Dynamics 365?

Hi Shannon,

 

I agree with what @Meneghino said that CountRows is not yet a delegable function. About this, you can submit this idea in the PowerApps Ideas forum, so it might be considered for future releases.

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

 

About that the filter is not working correctly either, would you please change another record to test if this is record specific issue?

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Champion
Community Champion

Re: DataSource limits for Dynamics 365?

Hi @v-monli-msft

In another thread we had gone through this with @Shannon and it seems that he/she really was not able to delegate filter to Dynamics 365.

In any case I will let him/her reply with the details.

Highlighted
Advocate IV
Advocate IV

Re: DataSource limits for Dynamics 365?

Yes as @Meneghino stated, I had another thread that turned into this same conversation here: https://powerusers.microsoft.com/t5/PowerApps-Forum/Unable-to-filter-data-outside-of-500-records/m-p...

 

An MS user replied and said they would notify on their side. I've tried a few different filters on a few different Dynamics 365 environments/entities, and I have the same issue.

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,748)