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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 26 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 53 | |
| 46 | |
| 38 | |
| 29 | |
| 21 |