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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
treesa2010
Frequent Visitor

Time Type not getting detected in PowerBI

Hi Team,

 

Can you please help me.

PowerBI is unable to detect the time thats getting fetched from my file name ie Watches_20220315_095127. I think its causing error because it has 0 digit in the starting. All my other filename with time format is getting detected.i.e Watches_20220315_105127- workling.

 

powerbi error.PNGpowerbi error_1.PNG

 

1 ACCEPTED SOLUTION
treesa2010
Frequent Visitor

Thanks everyone it got resolved. I tried changing the type from text to time and i dont know it just worked.

View solution in original post

5 REPLIES 5
v-henryk-mstf
Community Support
Community Support

Hi @treesa2010 ,

 

Thanks for your feedback. 

 

If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


Best Regards,
Henry

treesa2010
Frequent Visitor

Thanks everyone it got resolved. I tried changing the type from text to time and i dont know it just worked.

HotChilli
Community Champion
Community Champion

if the field is 095127 it will work, if the field is 95127 it will not.

So, there are 2 options:

1. if the field originally has the zero (as it looks like it does e.g. Watches_20220315_095127) , it must be getting cropped/edited in one of the steps, so try and change that.

or

2. use Text.PadStart to put a 0 on the front 

treesa2010
Frequent Visitor

When i refresh my powerbi report it gives the error. The data is in "text" type. I changed it to "time" type. Type Text.PNGTime type.PNG

HotChilli
Community Champion
Community Champion

Can you show the step which causes the error please and also what the data looks like on the step prior to this?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.