Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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.
Solved! Go to Solution.
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
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
Your link is invalid.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 42 | |
| 42 | |
| 30 |