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
mmossel
Employee
Employee

Costs of queries sent to backend data sources (DirectQuery vs Import)

I know everything about Power BI licensing costs, however what I don't understand is costs involved when interaction with a dashboard, as Power BI sends queries to the backend data source in that case. So, if you use DirectQuery, are there costs involved in the backend? And if you were to use Import mode, are there no additional costs involved?

 

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @mmossel ,

 

As far as I know, whether your data source is in the cloud or locally, the DQ connection mode will directly query the data source, which will affect the data source, and Import connection mode will query the data source when obtaining the latest data.

 

Data is stored on Azure. When querying, it will consume the resources of the entire server and will also affect Azure.

 

Best Regards,

Liu Yang

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

View solution in original post

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @mmossel ,

 

As far as I know, whether your data source is in the cloud or locally, the DQ connection mode will directly query the data source, which will affect the data source, and Import connection mode will query the data source when obtaining the latest data.

 

Data is stored on Azure. When querying, it will consume the resources of the entire server and will also affect Azure.

 

Best Regards,

Liu Yang

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

v-yangliu-msft
Community Support
Community Support

Hi  @mmossel , 

The Dq connection mode extracts data directly from the data source when querying. Because DQ does not store any data, it sends the query to the back-end data source and converts the query into the language required by the back-end database. Therefore, in the query execution before, during and after, the data resides in its original source, so it will affect the back-end data source.

 

The Import connection mode is to load data from the data source into Power BI, and Power BI will cache the data you connect to to create a point-in-time snapshot of the data. All interactions and filters applied to the data will be done for this compression (provided by the Vertipaq storage engine) cache source, not the actual data source itself, but changes in the underlying data source will not be updated in the Dataset in real time, you need to view the data source, you still have to refresh the data in the latest data, which will import the complete data set again, and it will also affect the back-end data source.

 

This is the related document, you can view this content:

https://radacad.com/directquery-live-connection-or-import-data-tough-decision

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about

https://www.programmersought.com/article/1657514050/

 

 

Best Regards,

Liu Yang

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

Hi @v-yangliu-msft, so wherever the datasoure is (Cloud/On-Prem), does sending a query to the backend incur costs (outside of Power BI)? For example, imagine the data source is stored on Azure. Does querying that data result in additional Azure costs on top of the storage costs?

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.