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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Date format

Hi guys,

I´m working with report and I have a problem with the data in a column that refers to a date.

Here is a sample of the data:

Sample Data.PNG

When trying to convert to a date, this the error:

 

Sample Data Error.PNG

 

I have tried different changes in the format with no results.

Thanks,

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

Are you in a locale that uses yyyyddMM format? You can convert it to Text type and use Date.FromText with the Format option like this.

 

Date.FromText([Date], [Format = "yyyyddMM"])

 

Pat

Microsoft Employee

View solution in original post

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

Are you in a locale that uses yyyyddMM format? You can convert it to Text type and use Date.FromText with the Format option like this.

 

Date.FromText([Date], [Format = "yyyyddMM"])

 

Pat

Microsoft Employee
Anonymous
Not applicable

Yes , it works.

 

Thanks,

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors