Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 5 |