Forum Discussion
Orstenpowers
Post Patron
6 years agoText date into real date???
Good Morning everybody, The below, highlighted date column is formatted as text. When trying to change the format into date, I got the error message that this cannot be done automatically!? What...
- 6 years ago
Hi Orstenpowers ,
Here we go:
year = var year = RIGHT('Table'[Order Date],4) var month =MID('Table'[Order Date],4,2) var day =LEFT('Table'[Order Date],2) return date(year,month,day)Pbix as attached.
mwegener
Most Valuable Professional
6 years agoHi Orstenpowers ,
i would also prefer the power query away from Ashish_Mathur .
If there are value errors in the column, they can be easily identified.