Forum Discussion
error in transforming date field
Hello fellows, i am getting error while i am trying to transform the date column to "Date" as showing in the uplaoadedscreenshot please advise. Regards,
Mohsen
3 Replies
- amitchandak
Super User
Mohsen_2020 , if you have date in dd/mm/yyyy format, use this
refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTsdebug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s - v-xicai
Community Support
Hi Mohsen_2020 ,
You may go to Add column in Query Editor, create custom column like codes below.
=DateTime.ToText(DateTime.From([Date]), "dd/mm/yyyy")Or you may go to File ->Options and settings ->Option-> Global, enable this type detection option like below, restart the Power BI Desktop to take effect this change, and then reopen your pbix file.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- v-xicai
Community Support
Hi Mohsen_2020 ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy