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
supton
Helper I
Helper I

Handling Large Data Sets

Hello! I am pretty new to Power BI and I am looking for advice on best practices. We are attempting to use Power BI to report on large sets of Dynamics 365 data (around 1.5 GB). I have used the connector in Power BI Desktop to connect to Dynamics 365 and the data refresh takes quite a long time, so long in fact that it errors out when I try to refresh on the Power BI Web service. We also need to pull the new data entered in Dynamics 365 at least once every hour, and the only way I see to set up the hourly data pulls is on the Power BI Web service. Ultimately, I believe I need to reduce the amount of data that I am pulling from CRM, so that I can perform the hourly refreshes in the power bi web service properly. My question to everyone is, what is the best practice of doing this? Should I store the CRM data somewhere in an azure database and use power bi "live"? Or is it best practice to only pull the direct summation data from CRM and report on that data (this wouldnt make sense to me because then we wouldnt be able to use the filter functionality that power BI provides). Any best practices or guidance of how to handle large data sets (especially coming from Dynamics CRM or Dynamics 365) would be much appreciated. Thank you very much!

1 ACCEPTED SOLUTION
Seth_C_Bauer
Community Champion
Community Champion

@supton How I wish I was just starting my CRM project. You'll find pretty quickly that to build out a solution you will either spend a ton of time pulling in only the data you need, and the processing will still take awhile, or you look for other solutions.

I manually built out a solution using Kingswaysoft to import all the tables from our online instance to a local DB. Built a tabular model on that data set and created my Power BI Reports.

MSFT released Solution Templates 2 days before I launched the reports... I cried 🙂

Check out the Solution Template for Dynamics 365 here - this basically guides you through building a full scale solution in Azure. 

 

I'm assuming you want to do more than just query a few things, the above is my experiance and recommendations, but other approaches on a smaller scale could work, I just got frustrated with all the processing time, searching for things etc. And we needed a full support solution to report on all aspects of our CRM.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

9 REPLIES 9
Seth_C_Bauer
Community Champion
Community Champion

@supton How I wish I was just starting my CRM project. You'll find pretty quickly that to build out a solution you will either spend a ton of time pulling in only the data you need, and the processing will still take awhile, or you look for other solutions.

I manually built out a solution using Kingswaysoft to import all the tables from our online instance to a local DB. Built a tabular model on that data set and created my Power BI Reports.

MSFT released Solution Templates 2 days before I launched the reports... I cried 🙂

Check out the Solution Template for Dynamics 365 here - this basically guides you through building a full scale solution in Azure. 

 

I'm assuming you want to do more than just query a few things, the above is my experiance and recommendations, but other approaches on a smaller scale could work, I just got frustrated with all the processing time, searching for things etc. And we needed a full support solution to report on all aspects of our CRM.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Thank you so much for the reply! Using the Solution Template this way, we would still need an azure subscription though, correct? My initial thought was to setup the Dynamics 365 Data Export Service myself to bring the data into Azure, and have Power BI report live off of that, but considering this solution template uses the data export service and walks you through everything it seems like this is a better option! Is Power BI mostly meant to report off of smaller data sets normally? It seems as though everyone should have run into this issue at some point!

@supton Azure sub - yes

No, Power BI can scale, the issue is accessing the CRM data in the methods allowed. It's slow retrieving the information.
So I would say the limitation is in the connection type, not necessarily in Power BI.

There are different approaches to solve different problems.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Our system is so insanely customized that there is no way any template would ever be useful for us. Smiley Mad





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@KHorseman Ours too, maybe it was a good thing I didn't invest time into the template to hit a dead end due to the "over" customization in ours. Don't know, but I wanted to dream that there was an easy button I just missed out on 🙂


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

We're just coming to the end of launching a whole new Dynamics 365 built from scratch. Most of the new design work is based on me explaining why the old design was bad for reporting. 😄





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




KHorseman
Community Champion
Community Champion

We use an Azure mirror for our CRM. But in any case you should try to write your queries to pull the minimum amount of data needed for the report. Don't pull every column if you don't need them, filter rows, etc.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you for the reply! I think I am going to try to rid the data of unncessary columns at this point, but considering I am reporting on summation data of all the rows according to certain linking criteria, I dont think that filtering into specific rows would make too much sense! We are getting over 2000 new records in a single custom entity daily (right now, we have a single entity with 1.5 million records), and we need to form reports on all of them, including the older stuff.

KHorseman
Community Champion
Community Champion

Columns make more of a difference than rows. Try not to query any columns that you don't strictly need.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.