Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jo123456
Helper I
Helper I

Dynamics 365

I am connected to CRM for a report and only 5000 records are being returned when I have 6000. Is there a workaround to get all the rows in the data?

 

Thank you.

10 REPLIES 10
PwerQueryKees
Impactful Individual
Impactful Individual

What's the M code you use? I use a dataverse connection to MSD 365 from Excel and don't have this problem...

jo123456_0-1729597237531.png

 

I am using 

CommonDataService.Database("yourenvironmentid.crm.dynamics.com")

Not sure but it looks like you're connecting to a web content or some documents instead of directly connecting to CRM? If so, please check the raw file that you connected to.

 

Or would you consider using the default Dataverse option to connect to MSD 365?

isjoycewang_0-1729850684740.png

 

do you know how I can identify the folder path for the table I'm connecting to if I use the dataverse route? I'm a bit new at the crm side.

As @PwerQueryKees mentioned, you can find the path in your address bar when you open the Dynamics 365 system. Just attached the screenshot for your reference. Thanks. 

 

isjoycewang_2-1730082876836.png

 

 

The domain name of the instance of MSD you are using. You can take it from the address bar in your browser when you have the system open. See my other post for a simple example.

Expiscornovus
Solution Sage
Solution Sage

Hi @jo123456,

 

Most APIs would have some kind of pagination/paging functionality. What are you using for your connection? Dynamics 365 CRM?

 

Here is an example for Dataverse paging:

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query/page-results

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

dynamics 365 CRM

You can also use the Table.GenerateByPage helper function:

https://learn.microsoft.com/en-us/power-query/helper-functions#tablegeneratebypage

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors