Microsoft has updated DirectQuery for Power BI datasets and Analysis Services. This makes it easier to combine live datasets with other data sources in Power BI Desktop.
Here’s what the feature does, why it matters, and how you can use it.
For more Power BI tips, visit: Power BI Training at DataBear
What Is DirectQuery for Power BI Datasets?
DirectQuery lets you connect live to a Power BI dataset or Analysis Services model. You can then add other data sources like SQL Server or Excel to the same report.
This is called a composite model. You can build your own calculations, create relationships, and extend existing datasets.
Why Use This Feature?
Here’s what you can do with DirectQuery and composite models:
- Combine live datasets with your own data sources.
- Customize and extend existing models.
- Define relationships across all your data.
- Create measures that use multiple sources.
How to Use DirectQuery with Composite Models
Step 1: Connect to a Dataset
Open a blank Power BI Desktop file.
Connect to a Power BI dataset.
At first, it connects live with no local model.
Step 2: Add Another Data Source
When you add another data source, Power BI switches to DirectQuery mode.
This allows you to combine local and remote data in one model.
You can add databases, files, or other services.
Step 3: Define Relationships
Use the model view to create relationships between tables from different sources.
Step 4: Create Measures
You can write measures that use fields from multiple data sources.
What’s New in the Model View?
The updated model view makes your model easier to understand.
- Tables are grouped by data source.
- You can hover over a table to see its source.
- Accessibility has improved.
- You can collapse or expand multiple tables at once.
Things to Keep in Mind
This is the first release of the updated feature. Some current limits include:
- You can only chain up to three models.
- Be aware of data privacy when combining sources.
Microsoft is working to remove these limits in future updates.
Get Started
Update to the latest version of Power BI Desktop.
Check the Power BI blog for the most recent changes.
For training on Power BI and best practices, visit:
Power BI Training at DataBear
Summary
DirectQuery for Power BI datasets and Analysis Services makes it easier to work with multiple data sources. You can combine live data, extend existing models, and build powerful reports all in one place.


