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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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