Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Power BI Connection To CRM/Sales Transaction locking/performance

(2) ShareShare
ReportReport
Posted on by 2,554
Hi All
I'm getting into connecting PBI to Dataverse. Is there best practice in terms of performance and locking issues. I can see all tables and I'm assuming if I run a query against them will it affect end users/other integrations updating the records? 
  • Verified answer
    Tom_Gioielli Profile Picture
    Tom_Gioielli 280 on at
    Power BI Connection To CRM/Sales Transaction locking/performance
    I've created and run a number of reports through PowerBI into Dataverse. From a user perspective, you should not see any performance issues between utilizing CRM and refreshing the PowerBI report / semantic model. Many of the models I have run include hundreds of thousands of records in any organization with hundreds of users globally and have never run into a problem. So I wouldn't worry about that side.
     
    Now, for your report, you are going to want to only target what is absolutely necessary to squeeze the most performance and reduce your import or query times. This means you should only grab tables that you need to reference, and if you can filter down those tables it's even better (for example, only looking at Opportunities from the past 3 years if nobody needs information earlier than that).
     
    Finally, the largest performance enhancement I have seen in the Dataverse connector is to prevent the query from automatically creating the relationship navigation. The link below has a section called "Performance Issues Related to Relationship Columns". These are the columns that appear at the end of your query and allow you to expand out to related or child tables. You can stop the query from creating these columns, which makes a big difference on your tables that see a lot of connections (like Accounts, Users, etc.)
     
     
    Finally, I've found that reducing columns has a bigger performance impact than reducing rows, so get rid of all those unnecessary columns in your table.
     
    Good luck and let me know if you need anything else!
     
    If this answer helped, please consider marking as verified

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans