Skip to main content

Power BI

New

Support many date formats in Power Query Date Parse

Vote (12) Share
's profile image

on 06 Apr 2016 01:16:04

The Date Parse feature in Power Query is very limited. It doesn't support many common date formats, like "Apr 84" or "2014-03-10". It would be great if Date Parse would automatically handle many common date formats. Today it is difficult to extract dates from text columns like this.

Comments (2)
's profile image Profile Picture

a3900901 868e-4c57-8dce-f8ba3fab18ab on 05 Jul 2020 22:47:41

RE: Support many date formats in Power Query Date Parse

The Date.FromText () format is a good start but even it is limited to Microsoft's narrow definition of a locale format. I have attempted to use a custom pattern ('MM/dd/yyyy') like the documentation suggests, but the method is simply not robust enough. Excel, BI, and Power Query all need this enhancement.

's profile image Profile Picture

aee777c7 9df5-4509-b52b-2f0b49ebe019 on 05 Jul 2020 22:25:29

RE: Support many date formats in Power Query Date Parse

Yes! Must be like "Text to column" in Excel. You can choose date formats like MDY, DMY, etc