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