Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Power Query convert text to date

Hi,

 

You know how excel transforms date to text for example: 8/07/2019 to 43654

 

In my Power BI report, I have a text column that store values differently example below:

WEEK
1/07/2019
43654
15/07/2019
22/07/2019
29/07/2019
43682
12/08/2019
19/08/2019
26/08/2019
2/09/2019

 

Now this column contains much more values and I want to transform it in Date format, but I get an error because of these number values. 

Is there an easy way to transform this column into a Date column in Power Query ?

 

Thanks in advance for your help

Robin

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

The screenshots should say it all.

Untitled.pngUntitled1.pngUntitled2.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Ashish_Mathur  ,

Can you please try that on the Power BI Query Editor and let me know if that works for you?


As I followed your steps and I am still getting a DateFormat Error.

 

Thanks 
Robin

You are right.  It is not working for the 2 cells which carry numbers.  Sorry, do not know what to do in PBI desktop.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.