Forum Discussion

ronrsnfld's avatar
ronrsnfld
Icon for Super User rankSuper User
1 year ago
Solved

Default "Changed Type" in Excel

In Power Query for Excel, the default behavior for the automatically generated #"Changed Type" step on my system is to set columns with dates to type datetime if the data source is in the open Excel ...
  • Nasif_Azam's avatar
    Nasif_Azam
    1 year ago

     

    Yes you are right. Currently, Power Query automatically converts columns from Excel.CurrentWorkbook() to type datetime, even when the underlying data is a plain date. This is inconsistent with how external Excel file sources (Excel.Workbook(...)) behave, which correctly set columns to type date when appropriate. This behavior creates unnecessary cleanup work when working with tables in the current workbook. It would be incredibly helpful if users could globally configure the default data type mapping for date/datetime detection or choose to disable or override the Changed Type step defaults for Excel.CurrentWorkbook(). Please consider adding a setting (in Power Query or Excel Options) to control this behavior.

    The final option:
    There is no longer a dedicated Power Query UserVoice, but you can use Microsoft Excel Feedback Portal:
    https://feedbackportal.microsoft.com/feedback

    Go to Excel > Power Query, and click + Give feedback

     

    If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.


    Best Regards,
    Nasif Azam