Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have an issue with the original loading of data to the query. It automatically changes column 9's decimals numbers from the original data to date values, because the 1st non-null value of the data is in fact a date.
Turning the dates back to numbers makes some of the numbers incorrect, so this cant be solved by just changing the data back. What is weird, is that that the data type is not really even defined as a date in the editor, but as "not classified".
Any ideas to stop power query from changing the data type? ps. I also tried taking off the Automatic type detection from Query Options..
let
Source = Folder.Files("C:Folder"),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Excel.Workbook([Content])),
#"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Name", "Data"}, {"Custom.Name", "Custom.Data"}),
#"Expanded Custom.Data" = Table.ExpandTableColumn(#"Expanded Custom", "Custom.Data", {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8", "Column9", "Column10", "Column11", "Column12", "Column13", "Column14", "Column15", "Column16", "Column17"}, {"Custom.Data.Column1", "Custom.Data.Column2", "Custom.Data.Column3", "Custom.Data.Column4", "Custom.Data.Column5", "Custom.Data.Column6", "Custom.Data.Column7", "Custom.Data.Column8", "Custom.Data.Column9", "Custom.Data.Column10", "Custom.Data.Column11", "Custom.Data.Column12", "Custom.Data.Column13", "Custom.Data.Column14", "Custom.Data.Column15", "Custom.Data.Column16", "Custom.Data.Column17"})
in
#"Expanded Custom.Data"
Solved! Go to Solution.
Hi @Anonymous ,
Any ideas to stop power query from changing the data type? ps. I also tried taking off the Automatic type detection from Query Options..
Normally, we could delect the step "#change type" to achieve that.
More details will be helpful.
If it is convenient, could you share the screenshot of your issue so that we could understand it better?
Best regards,
Cherry
Hi @Anonymous ,
Have you solved the problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, feel free to ask.
Best Regards,
Cherry
Hi @Anonymous ,
Any ideas to stop power query from changing the data type? ps. I also tried taking off the Automatic type detection from Query Options..
Normally, we could delect the step "#change type" to achieve that.
More details will be helpful.
If it is convenient, could you share the screenshot of your issue so that we could understand it better?
Best regards,
Cherry
Hi @Anonymous
Can you share the sample file to understand the problem?
Pradip Pardeshi
Microsoft Certified Trainer
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.