Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to change a date structure

Hi,

 

I hope you all are doing fine. 

 

I am confronting a problem related to dates. I have imported a text file into Power BI and there is one column of date in which date structure is 20200101. Is there is way to change this date structure to a valid date structure within Power BI. 

 

Thank you in advance. 

 

Best Regards

  • Anonymous In Power Query, change the type to Text then add another step to change the type to Date. For some reason this works versus going directly from numeric to date.

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous In Power Query, change the type to Text then add another step to change the type to Date. For some reason this works versus going directly from numeric to date.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you so much