Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power BI Complete Reference

You're reading from   Microsoft Power BI Complete Reference Bring your data to life with the powerful features of Microsoft Power BI

Arrow left icon
Product type Course
Published in Dec 2018
Publisher Packt
ISBN-13 9781789950045
Length 794 pages
Edition 1st Edition
Arrow right icon
Authors (5):
Arrow left icon
Brett Powell Brett Powell
Author Profile Icon Brett Powell
Brett Powell
Mitchell Pearson Mitchell Pearson
Author Profile Icon Mitchell Pearson
Mitchell Pearson
Brian Knight Brian Knight
Author Profile Icon Brian Knight
Brian Knight
Devin Knight Devin Knight
Author Profile Icon Devin Knight
Devin Knight
Manuel Quintana Manuel Quintana
Author Profile Icon Manuel Quintana
Manuel Quintana
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Title Page
About Packt
Contributors
Preface
1. Getting Started with Importing Data Options FREE CHAPTER 2. Data Transformation Strategies 3. Building the Data Model 4. Leveraging DAX 5. Visualizing Data 6. Using a Cloud Deployment with the Power BI Service 7. Planning Power BI Projects 8. Connecting to Sources and Transforming Data with M 9. Designing Import and DirectQuery Data Models 10. Developing DAX Measures and Security Roles 11. Creating and Formatting Power BI Reports 12. Applying Custom Visuals, Animation, and Analytics 13. Designing Power BI Dashboards and Architectures 14. Managing Application Workspaces and Content 15. Managing the On-Premises Data Gateway 16. Deploying the Power BI Report Server 17. Creating Power BI Apps and Content Distribution 18. Administering Power BI for an Organization 19. Scaling with Premium and Analysis Services 1. Other Books You May Enjoy Index

Live Connection


The basic concept of Live Connection is very similar to that of DirectQuery. Just like DirectQuery, when you use a Live Connection no data is actually imported into Power BI. Instead, your solution points directly to the underlying data source and leverages Power BI Desktop simply as a data visualization tool. So, if these two things are so similar, then why give them different names? The answer is because even though the basic concept is the same, DirectQuery and Live Connection vary greatly.

One difference that should quickly be noticeable is the query performance experience. It was mentioned in the last section that DirectQuery can often have poor performance depending on the data source type. With Live Connection, you generally will not have any performance problem because it is only supported by the following types of data sources:

  • SQL Server Analysis Services Tabular
  • SQL Server Analysis Services Multidimensional
  • Power BI Service

The reason performance does not suffer from these data sources is because they either use the same xVelocity engine that Power BI does, or another high-performance storage engine. To set up your own Live Connection to one of these sources, you can choose the SQL Server Analysis Services database from the list of sources after selecting Get Data. Here, you can specify that the connection should be live:

Note

If a dataset is configured for a Live Connection or DirectQuery, then you can expect automatic refreshes to occur approximately every hour or when interaction with the data occurs. You can manually adjust the refresh frequency in the Scheduled cache refresh option in the Power BI service.

Limitations

So far, this sounds great! You have now learned that you can connect directly to your data sources, without importing data into your model, and you won't have significant performance consequences. Of course, these benefits don't come without giving something up, so what are the limitations of a Live Connection? 

What you will encounter with Live Connections are limitations that are generally a result of the fact that Analysis Services is an Enterprise BI tool. Thus, if you are going to connect to it, then it has probably already gone through significant data cleansing and modeling by your IT team. 

Modeling capabilities such as defining relationships are not available because these would be designed in an Analysis Services Model. Also, the Power Query Editor is not available at all against a Live Connection source. While at times this may be frustrating, it does make sense that it works this way because any of the changes you may desire to make with relationships or in the query editor should be done in Analysis Services, not Power BI.

You have been reading a chapter from
Microsoft Power BI Complete Reference
Published in: Dec 2018
Publisher: Packt
ISBN-13: 9781789950045
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image