Forum Discussion

tom_brennan's avatar
tom_brennan
Frequent Visitor
2 years ago
Solved

Issue with auto detected column from XLS file

I am trying to import data using Power Query for Excel, and running into a data type inference issue around date/time.   I have an XLS (not XLSX) file from our service provider which I am trying to...
  • tom_brennan's avatar
    2 years ago

    From my research and testing, the root cause of the issue is likely that the underlying file is in XLS format rather than XLSX.

     

    If I save it as XLSX, the Power Query import works fine. The problem column is initially identified as type = any, and because no type has been auto detected, the rest of the transformations run successfully.

     

    Apparently the XLS format uses a different connector to XLSX, which is probably why it's behaving differently:

    https://learn.microsoft.com/en-us/power-query/connectors/excel#legacy-ace-connector