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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Divya904
Helper III
Helper III

Changing Data type of field in Power BI desktop in Direct query mode

Hi all

 

Please help me to understand, if have connected to a data set using direct query mode in Power BI Desktop. Then if we change field datatype for example from string-> to date. Would it be reflected in database table/view as well. I am bit confused about this concept, how does it work mainly in Direct query mode.

Many thanks .

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Divya904,

 

Let's make it simple. 

1. No data is stored in the Desktop;

2. Only queries are sent to the data source when necessary. For example, render a visual, refresh report.

3. Addition to 2, only queries are sent to fetch data. That means most part of the work will be done in the data source.

Please refer to #directquery-connections for details.

>>>However, upon load, no data will actually be imported into the Power BI store. Instead, upon building a visual within Power BI Desktop, queries will be sent to the underlying data source to retrieve the necessary data. The time then taken to refresh the visual will depend on the performance of the underlying data source.

 

About the data type conversion, please refer to #limited-data-transformations.

>>>First, when connecting to an OLAP source like SAP Business Warehouse, no transformations can be defined at all, and the entire external ‘model’ is taken from the source.

>>>For relational sources, like SQL Server, it is still possible to define a set of transformations per query, but those transformations are limited for performance reasons.

>>>Any such transformation will need to be applied on every query to the underlying source, rather than once on data refresh, so they are limited to those transformations that can reasonably be translated into a single native query. If you use a transformation that is too complex, then you will receive an error that either it must be deleted, or the model switched to Import mode.

 

 

Best Regards,

Dale

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.