Forum Discussion
Orstenpowers
6 years agoPost Patron
Text 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.
Ashish_Mathur
6 years agoSuper User
Hi,
In the Query Editor, selecting date works just fine for me. See these screenshots