Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello guys,
The Power Query convert itself all my date (dd/mm/yyyy) columns to datetime (dd/mm/yyyyy 00:00:00).
I would like to keep it in the original type without needing to transform the type or redefine the format in the modelisation tab.
Thank you in advance !
Solved! Go to Solution.
So it looks like you have solved the issue which is probably that powerbi has automatic type detection switched on and it's made an assumption of datetime instead of date. So it's not really a problem, more a nuance.
But you now seem to have edited the step and everything is good?
So it looks like you have solved the issue which is probably that powerbi has automatic type detection switched on and it's made an assumption of datetime instead of date. So it's not really a problem, more a nuance.
But you now seem to have edited the step and everything is good?
Can you post the Advanced Editor code here please?
Hi,
here below the code
let
Source = OData.Feed("ODATA FLUX LINK", null, [Implementation="2.0"]),
#"Création CléAgrégée" = Table.AddColumn(Source, "CléAgrégée", each [CAMPAGNE]&[D_ORGA]&[D_CTRL]),
#"Colonnes renommées" = Table.RenameColumns(#"Création CléAgrégée",{{"STATUT_INDICATEUR", "Statut indic."}}),
#"Date extraite" = Table.TransformColumns(#"Colonnes renommées",{{"CREATE_TIME", DateTime.Date, type date}, {"FINISH_TIME", DateTime.Date, type date}, {"CLOSING_TIME", DateTime.Date, type date}, {"DATE_FROM", DateTime.Date, type date}, {"DATE_TO", DateTime.Date, type date}}),
#"Type modifié" = Table.TransformColumnTypes(#"Date extraite",{{"DATE_HEURE_EXTRACTION", type datetime}})
in
#"Type modifié"I had to to transform columns to date in waiting
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |