Forum Discussion
BINoob0815
3 years agoFrequent Visitor
Convert text to date
Hello, I had searched if anybody already had a similar problem but unfortunately I did not find the right solution. Actually I thought this should be simple but I am not able to solve the proble...
- 3 years ago
Hi BINoob0815
Please create in Power Query a custom column with the following formula:
Date.FromText([Datum Lieferung], [Format="yyyyMMdd", Culture="de-DE"])
Date.FromText - PowerQuery M | Microsoft Learn
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
-----------------------------------------------------
Anonymous
3 years agoNot applicable
Hi BINoob0815 ,
Here's the solution using DAX.
Date = DATE(LEFT([Datum Liefung],4),LEFT(RIGHT([Datum Liefung],4),2),RIGHT([Datum Liefung],2))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.