Forum Discussion
Handling two date formats
- 5 years ago
Hi, Anonymous
Please correct me if I wrongly understood your question.
If each file has a different format type in the DATE column, then, in my opinion, the best way to deal with it is by using Power Query in Power BI and change it by using the option LOCALE. This will make all files have a standard format in the DATE column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
Anonymous , bring them as text , Create a new column in dax and mark as date
if(search("-",[Column],,0) >0 , Date(left([Column],4) ,Mid([Column,4],6,2), right([Column],2)) ,
Date(right([Column],4) ,Mid([Column,4],4,2), left([Column],2)) )
In power Query you do have Start, Middle and end , in case you want to do in power query refer (index start from 0 there)