I have a column named DimDateKey
in PowerQuery and it is formatted as YYYYMMDD i.e. 20150201 and I want to convert it to MM/DD/YY and I have had no luck finding the syntax for this.
I have tried this which works in a regular excel sheet:
DATE(RIGHT([DimDateKey],4),MID([DimDateKey],4,2),LEFT([DimDateKey],2))
But I get
Expression error: The Name DATE was not recognized. Is it Spelled Correctly?