Wednesday, September 28, 2016

Performance Tips and Techniques for Power BI and Power Query (update)

Power BI Performance Tips and Techniques update:

Back in March of this year I created an article and a webinar for the Pragmatic Works Blog.

The original concepts still hold, Power BI and Excel Power Query are very powerful tools for building data models and sharing data discovery and visualizations. As you move from initial prototyping to a more mature model you may find that performance can be bogged down if you don't manage the structure of your reporting information. This talk provides Tips and Techniques to manage this information (link to updated slides).







Since the original webinar I have presented this topic at a few user groups and SQL Saturdays and was asked some very good questions.

I'd like to answer these questions here, and to update the slide deck as well.


1) In Providence at the BI User Group I was asked: What happens in Kasper de Jonge's Memory Usage Tool macro when there is a join between two queries loaded into the model?




If the join is done in the data load, the data model contains only one table, as in the example discussed in the original presentation.

If there is a relationship created between two tables loaded in to memory, the joined tables are both shown in the pivot tables that result from the macro, and how much memory taken by each column is shown as a datatype and total for the column.

2) In NYC at the Power BI User Group a member asked: Does the HierarchySlicer cause performance problems?
To test this, I used a data table with nearly 14M rows linked to a Date table. Power BI connected via direct query to SQL Server 2016. 



The Hierarchy Slicer (HierarchySlicer.0.7.9.pbiviz) at Year / Month on the Date table compared to a "flat" YearMonthName non hierarchical slicer. In this case, each new slicer selection took about 2 seconds to repopulate the summary table to the left. The two took the same amount of time, I did not see a difference in performance.

3) At SQL Saturday in Dallas this question came up: Is the SSAS formula engine still single threaded in Power BI on the portal as it is on the desktop? The SSAS engine is the same in Power BI on app.powerBI.com as it is on your local drive. There would not be an improvement on calculations caused by multi-threading, although the local machine may or may not have more resources to dedicate to the formula engine thread.

Thank you all for the great questions, please comment on others questions or if you have more information!

14 comments:

Anonymous said...

This is very good for us that we have a team of professional data scientist who can easily solve our all type of data complexity and its handling problem. There are many ways they have used for shorting the big complex data into the simple form and form this data we can easily handle our project without facing any difficulties and you can get these data scientist from this activewizards.com.

Aruna Ram said...

Thank you much more for gave a great post and definitely this post is usefulin my future. Please updating them...
Soft Skills Training in Chennai
best soft skills training in chennai
Appium Training in Chennai
Appium Certification in Chennai
JMeter Training in Chennai
Job Openings in Chennai
Power BI Training in Chennai
Linux Training in Chennai
Tableau Training in Chennai
Spark Training in Chennai

markson said...

Subtleties, for example, financials, business methodologies, late improvements, and other such vital data relating to these players has been given as a major aspect of organization profiling.artificial intelligence training in pune

Cho co said...

This training will help you be more skillful, proficient and technological aware. artificial intelligence certification

sherlie said...

After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
Web Designing Training in Chennai

Web Designing Course in Chennai

Web Designing Training in Bangalore

Web Designing Course in Bangalore

Web Designing Training in Hyderabad

Web Designing Course in Hyderabad

Web Designing Training in Coimbatore

Web Designing Training

Web Designing Online Training

CloudLearn ERP said...

With so much overstated negative criticism of the corporate culture in the media, it is indeed bracing to have an upbeat, positive report on the good things that are happening. Wish to read some more from you!
Data Science training in Mumbai
Data Science course in Mumbai
SAP training in Mumbai

arshiya said...

Nice Blog!!! Waiting for your new post... thanks for sharing with us.
effects of social media
latest artificial intelligence applications
process developer job description
characteristics of php
rpa career path
salesforce interview questions for freshers

360digitmgdelhi said...

Good information you shared. keep posting.
data science course in delhi ncr

360DigiTMGAurangabad said...

This post is very simple to read and appreciate without leaving any details out. Great work!
ai training in aurangabad

vlogin said...

I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end.
Python Training in Pune

ujilajadyne said...

Slot machine pragmatic play slot pragmatic play slot pragmatic play slot pragmatic
Slot 영주 출장마사지 machine pragmatic play slot 창원 출장마사지 pragmatic play slot pragmatic 대구광역 출장안마 play slot pragmatic play slot pragmatic 경산 출장안마 play 부산광역 출장안마 slot pragmatic play slot pragmatic play slot pragmatic play slot pragmatic play slot

360DigiTMGAurangabad said...

Excellent effort to make this blog more wonderful and attractive.
data analytics courses aurangabad

Anonymous said...

Amazing write-up always finds something interesting.xx python training in pune

Hema Yadav said...

very insightful and informative piece of content you have shared. Thanks for guiding us through this post.
Read my Blog: 7 Reasons You Should Go for Data Analytics Training