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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Data Type duration

I have a duration column in excel, what data type should i use when import into power bi?  it's all 'Error' when i select 'duration' in power bi. 

 

CRM.PNG 

CRM.PNG

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there, you would have to change it to Text, due to it having the ":" which is seen as text.

 

What I would suggest is if you want to calculate the duration in Power BI is to have the Source Date Time in order to do this, can modify it all to be seconds. Then from there you can then roll it up to Hours, Days etc.

 

Here is another link referencing how they did it with Date and Times

http://community.powerbi.com/t5/Desktop/Sum-of-H-MM-SS/m-p/124007 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi there, you would have to change it to Text, due to it having the ":" which is seen as text.

 

What I would suggest is if you want to calculate the duration in Power BI is to have the Source Date Time in order to do this, can modify it all to be seconds. Then from there you can then roll it up to Hours, Days etc.

 

Here is another link referencing how they did it with Date and Times

http://community.powerbi.com/t5/Desktop/Sum-of-H-MM-SS/m-p/124007 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Your link is invalid.

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.