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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-binbinyu-msft
Community Support
Community Support

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
v-binbinyu-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.