Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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 |
---|---|
105 | |
68 | |
48 | |
42 | |
41 |