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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SuzanneSte
Frequent Visitor

Poor quality data in what needs to be a data field

Hello,

When importing my data, many of my date/time fields are missing the leading 0 for single digit months.  As in 6/6/2023 as opposed to 06/06/2023.  When I convert these fields from text to date fields I get errors.  Is there a way either in Power BI or even in excel before importing to add the missing leading 0 when necessary?   Would appreciate your guidance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SuzanneSte ,

I test it in Power BI with different date, Power Query will change the data type with date type automically.

vbinbinyumsft_0-1688698553792.png

vbinbinyumsft_1-1688698570895.png

 

Best regards,
Community Support Team_Binbin Yu
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

1 REPLY 1
Anonymous
Not applicable

Hi @SuzanneSte ,

I test it in Power BI with different date, Power Query will change the data type with date type automically.

vbinbinyumsft_0-1688698553792.png

vbinbinyumsft_1-1688698570895.png

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors