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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Important Concepts of DirectQuery

Before opting to go with a DirectQuery connection, it is important to get a better understanding of it.


• Better scalability since extremely large datasets can be used for building reports and the size limitation is only for the data source itself.
• No need for data refresh since its coming as a real time data.
• Pre-Built models in some data sources can be used instantly.
• DirectQuery reports always work on the current data and the hard work is carried out where it should be done on the server side.
• In case of re-query of data, server hits can be avoided to a great extent since the application would reuse already existing data
• It is possible to later switch from DirectQuery to Import mode if needed.
• All tables must come from a single database that is a single data source only. There is simply no way of combining data from multiple sources
• Few limitations are placed on the DAX expressions that are allowed in measures
• Some limitations on Data modelling such as auto-detect relationships between tables and relationships are limited to a single direction
• Built-in Date hierarchy is not available

5 REPLIES 5
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Thanks for your sharing. Great summary.

But there is one thing to note: 

 


• All tables must come from a single database that is a single data source only. There is simply no way of combining data from multiple sources


 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you for the information. Much appreciated!

edhans
Super User
Super User

I've created direct query models across data in different databases. You have to create views in a single database pointing to the other databases, then connect to those views.


There are some limitations with visuals too in Direct Query.

 

Good writeup!



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
JCM_iTalent
Employee
Employee

@Anonymous If you are interest in writing a blog for us, please click on the Message Admins to the right of the Community Blog.

Message Admins Blog.PNG

Thank you.

amitchandak
Super User
Super User

@Anonymous , Thaks for sharing. Best way write a blog on the power bi community.

Please contact admin @JCM_iTalent  , to understand the process. Send a message from community mail to the id.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.