cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Calendar

hello everyone i'm actually working on power bi and i'm having this issu.

i have this kind of timestamp date :

20170701

20180708

20190609

 

please how can i convert it to a date time format ? 

thank you 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Calendar

Hi @rayloubayi 

Try Triming it first.


image.png

Regards,
Mariusz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Highlighted
Super User IV
Super User IV

Re: Calendar

Hi @rayloubayi 

In Query Editor you can change the Data Type of the column like below, as long as your current format is YYYYMMDD
image.png
Regards,
Mariusz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Helper I
Helper I

Re: Calendar

HI @Mariusz  i did it, but all that i have is a column sur "Error" so i was wondering if there is a formula to get ta column in date time format

ps: i'm a begginer in power Bi Smiley Very Happy

 

thank u for ur answer tho

Highlighted
Helper I
Helper I

Re: Calendar

here is the error that i'm getting 

 

DataFormat.Error: We couldn't convert to Date.
Details:
20180522

Highlighted
Super User IV
Super User IV

Re: Calendar

Hi @rayloubayi 

Try Triming it first.


image.png

Regards,
Mariusz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper I
Helper I

Re: Calendar

it works ! thank you a lot for your help

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors