Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I have a data source that is in mm/dd/yyyy and also includes time. I need to conver this to dd/mm/yyyy and remove the time, but when changing the data type to Date, it errors out. Is there way to resolve this easily?
Solved! Go to Solution.
maybe you can try change type with locale
Proud to be a Super User!
maybe you can try change type with locale
Proud to be a Super User!
you are welcome
Proud to be a Super User!
Check with this code:
#"Changed Type" = Table.TransformColumnTypes(Source,{{"DateColumn", type datetime}}),
#"Removed Time" = Table.TransformColumns(#"Changed Type", {{"DateColumn", each Date.From(DateTime.LocalNow()), type date}})
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
77 | |
73 | |
71 | |
45 | |
42 |
User | Count |
---|---|
48 | |
47 | |
29 | |
28 | |
28 |