cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Datumsspalte lässt sich nicht formatieren

Guten Tag,

 

wir haben eine Datumsspalte im Format ddmmyyyy (Beispiel: 07042022).

Diese Zahlenfolge lässt sich nicht in ein valides Datumsformat konvertieren.

 

Gibt es eine Möglichkeit?

 

vielen Dank

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , create a new column

Date =  date(right([column],4), mid([column],3,2]), left([column],2) )

 

similar functions in power query too

Power Query - Text.Start, Text.Middle, Text.End: https://www.youtube.com/watch?v=vky4wPqm0O0



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , create a new column

Date =  date(right([column],4), mid([column],3,2]), left([column],2) )

 

similar functions in power query too

Power Query - Text.Start, Text.Middle, Text.End: https://www.youtube.com/watch?v=vky4wPqm0O0



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors